|
1 |
| -from pathlib import Path |
2 |
| - |
3 |
| -from setuptools import find_packages |
4 | 1 | from setuptools import setup
|
5 | 2 |
|
6 |
| -import versioneer |
7 |
| - |
8 |
| -README = Path("README.rst").read_text() |
9 |
| - |
10 |
| -PROJECT_URLS = { |
11 |
| - "Documentation": "https://github.com/pytask-dev/pytask-environment", |
12 |
| - "Github": "https://github.com/pytask-dev/pytask-environment", |
13 |
| - "Tracker": "https://github.com/pytask-dev/pytask-environment/issues", |
14 |
| - "Changelog": "https://github.com/pytask-dev/pytask-environment/blob/main/" |
15 |
| - "CHANGES.rst", |
16 |
| -} |
17 |
| - |
18 | 3 |
|
19 |
| -setup( |
20 |
| - name="pytask-environment", |
21 |
| - version=versioneer.get_version(), |
22 |
| - cmdclass=versioneer.get_cmdclass(), |
23 |
| - description="Detect changes in your pytask environment and abort a project build.", |
24 |
| - long_description=README, |
25 |
| - long_description_content_type="text/x-rst", |
26 |
| - author="Tobias Raabe", |
27 |
| - |
28 |
| - python_requires=">=3.6", |
29 |
| - url=PROJECT_URLS["Github"], |
30 |
| - project_urls=PROJECT_URLS, |
31 |
| - license="MIT", |
32 |
| - classifiers=[ |
33 |
| - "Development Status :: 3 - Alpha", |
34 |
| - "Operating System :: OS Independent", |
35 |
| - "Programming Language :: Python :: 3", |
36 |
| - "Programming Language :: Python :: 3 :: Only", |
37 |
| - "Programming Language :: Python :: 3.6", |
38 |
| - "Programming Language :: Python :: 3.7", |
39 |
| - "Programming Language :: Python :: 3.8", |
40 |
| - "Programming Language :: Python :: 3.9", |
41 |
| - ], |
42 |
| - install_requires=["click", "pony", "pytask >= 0.0.7"], |
43 |
| - platforms="any", |
44 |
| - packages=find_packages(where="src"), |
45 |
| - package_dir={"": "src"}, |
46 |
| - entry_points={"pytask": ["pytask_environment = pytask_environment.plugin"]}, |
47 |
| - include_package_data=True, |
48 |
| - zip_safe=False, |
49 |
| -) |
| 4 | +if __name__ == "__main__": |
| 5 | + setup() |
0 commit comments