|
1 | | -[project] |
| 1 | +[tool.poetry] |
2 | 2 | name = "{{{pythonPackageName}}}" |
3 | 3 | version = "{{{packageVersion}}}" |
4 | 4 | authors = [ |
5 | | - { name="{{infoName}}{{^infoName}}OpenAPI Generator Community{{/infoName}}", email="{{infoEmail}}{{^infoEmail}}[email protected]{{/infoEmail}}" }, |
| 5 | + " {{infoName}} {{^infoName}}OpenAPI Generator Community {{/infoName}} <{{infoEmail}} {{^infoEmail}} [email protected]{{/infoEmail}} >", |
6 | 6 | ] |
7 | 7 | description = "{{{appName}}}" |
8 | 8 | #readme = "README.md" |
9 | 9 | #license = "{{{licenseInfo}}}{{^licenseInfo}}NoLicense{{/licenseInfo}}" |
10 | | -requires-python = ">=3.8" |
| 10 | +#requires-python = ">=3.8" |
11 | 11 | classifiers = [ |
12 | 12 | "Programming Language :: Python :: 3", |
13 | 13 | "License :: OSI Approved :: Apache Software License", |
14 | 14 | "Operating System :: OS Independent", |
15 | 15 | ] |
16 | | -dependencies = [ |
17 | | - "requests ~= 2.32.3", |
18 | | - "python_dateutil ~= 2.5.3", |
19 | | - "pydantic ~= 2.9.2", |
20 | | - "stackit-core ~= 0.0.1", |
| 16 | +packages = [ |
| 17 | + { include = "stackit", from="src" } |
21 | 18 | ] |
22 | 19 |
|
23 | | -[project.optional-dependencies] |
24 | | -dev = [ |
25 | | - "black >= 24.8.0", |
26 | | - "pytest ~= 8.3.2", |
27 | | - "flake8 ~= 7.1.0", |
28 | | - "flake8-black ~= 0.3.6", |
29 | | - "flake8-pyproject ~= 1.2.3", |
30 | | - "flake8-quotes ~= 3.4.0", |
31 | | - "flake8-bandit ~= 4.1.1", |
32 | | - "flake8-bugbear ~= 24.8.19", |
33 | | - "flake8-eradicate ~= 1.5.0", |
34 | | - "flake8-eol ~= 0.0.8", |
35 | | - "autoimport ~= 1.6.1", |
36 | | - "isort ~= 5.13.2", |
37 | | -] |
| 20 | +[tool.poetry.dependencies] |
| 21 | +python = ">=3.8,<4.0" |
| 22 | +stackit-core = "^0.0.1" |
| 23 | +requests = "^2.32.3" |
| 24 | +pydantic = "^2.9.2" |
| 25 | +python-dateutil = "^2.9.0.post0" |
| 26 | +
|
| 27 | +[tool.poetry.group.dev.dependencies] |
| 28 | +black = "24.8.0" |
| 29 | +pytest = "^8.3.3" |
| 30 | +flake8 = "^5.0.3" |
| 31 | +flake8-black = "^0.3.6" |
| 32 | +flake8-pyproject = "^1.2.3" |
| 33 | +autoimport = "^1.6.1" |
| 34 | +flake8-eol = "^0.0.8" |
| 35 | +flake8-eradicate = "^1.5.0" |
| 36 | +flake8-bandit = "^4.1.1" |
| 37 | +flake8-bugbear = "^23.1.14" |
| 38 | +flake8-quotes = "^3.4.0" |
| 39 | +isort = "^5.13.2" |
38 | 40 |
|
39 | 41 | [project.urls] |
40 | 42 | Homepage = "https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}" |
41 | 43 | Issues = "https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}/issues" |
42 | 44 |
|
43 | 45 | [build-system] |
44 | | -requires = ["setuptools"] |
45 | | -build-backend = "setuptools.build_meta" |
| 46 | +requires = ["poetry-core"] |
| 47 | +build-backend = "poetry.core.masonry.api" |
| 48 | +
|
| 49 | +[tool.pytest.ini_options] |
| 50 | +pythonpath = [ |
| 51 | + "src" |
| 52 | +] |
| 53 | +testpaths = [ |
| 54 | + "tests" |
| 55 | +] |
46 | 56 |
|
47 | 57 | [tool.black] |
48 | 58 | line-length = 120 |
|
0 commit comments