|
2 | 2 | name = "my-package"
|
3 | 3 | version = "1.2.3"
|
4 | 4 | description = "Some description."
|
5 |
| -authors = [ |
6 |
| - "Sébastien Eustace <[email protected]>" |
7 |
| -] |
| 5 | +authors = [ "Awesome Hacker <[email protected]>"] |
8 | 6 | license = "MIT"
|
9 | 7 |
|
10 |
| -readme = "README.rst" |
11 |
| - |
12 |
| -homepage = "https://python-poetry.org" |
13 |
| -repository = "https://github.com/python-poetry/poetry" |
14 |
| -documentation = "https://python-poetry.org/docs" |
15 |
| - |
16 |
| -keywords = ["packaging", "dependency", "poetry"] |
17 |
| - |
18 |
| -classifiers = [ |
19 |
| - "Topic :: Software Development :: Build Tools", |
20 |
| - "Topic :: Software Development :: Libraries :: Python Modules" |
21 |
| -] |
22 |
| - |
23 |
| -# Requirements |
24 | 8 | [tool.poetry.dependencies]
|
25 |
| -python = "~2.7 || ^3.6" |
26 |
| -cleo = "^0.6" |
27 |
| -pendulum = { git = "https://github.com/sdispater/pendulum.git", branch = "2.0" } |
28 |
| -tomlkit = { git = "https://github.com/sdispater/tomlkit.git", rev = "3bff550", develop = false } |
29 |
| -requests = { version = "^2.18", optional = true, extras=[ "security" ] } |
30 |
| -pathlib2 = { version = "^2.2", python = "~2.7" } |
31 |
| - |
32 |
| -orator = { version = "^0.9", optional = true } |
33 |
| - |
34 |
| -# File dependency |
35 |
| -demo = { path = "../distributions/demo-0.1.0-py2.py3-none-any.whl" } |
36 |
| - |
37 |
| -# Dir dependency with setup.py |
38 |
| -my-package = { path = "../project_with_setup/" } |
39 |
| - |
40 |
| -# Dir dependency with pyproject.toml |
41 |
| -simple-project = { path = "../simple_project/" } |
42 |
| - |
43 |
| -# Dependency with markers |
44 |
| -functools32 = { version = "^3.2.3", markers = "python_version ~= '2.7' and sys_platform == 'win32' or python_version in '3.4 3.5'" } |
45 |
| - |
46 | 9 |
|
47 | 10 | [tool.poetry.extras]
|
48 |
| -db = [ "orator" ] |
49 | 11 |
|
50 | 12 | [tool.poetry.dev-dependencies]
|
51 |
| -pytest = "~3.4" |
52 | 13 | mylib = { path = "../mylib", develop = true}
|
53 |
| - |
54 |
| - |
55 |
| -[tool.poetry.scripts] |
56 |
| -my-script = "my_package:main" |
57 |
| - |
58 |
| - |
59 |
| -[tool.poetry.plugins."blogtool.parsers"] |
60 |
| -".rst" = "some_module::SomeClass" |
0 commit comments