from setuptools import find_packages, setup import versioneer install_requires = open("requirements.txt").read().strip().split("\n") dev_requires = open("requirements-dev.txt").read().strip().split("\n") setup( # Package metadata name="prefect", description="Workflow orchestration and management.", author="Prefect Technologies, Inc.", author_email="[email protected]", url="https://github.com/PrefectHQ/prefect/tree/orion", long_description=open("README.md").read(), long_description_content_type="text/markdown", # Versioning version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), # Package setup packages=find_packages(where="src"), package_dir={"": "src"}, include_package_data=True, # CLI entry_points={ "console_scripts": ["prefect=prefect.cli:app"], "mkdocs.plugins": [ "render_swagger = prefect.utilities.render_swagger:SwaggerPlugin", ], }, # Requirements python_requires=">=3.7", install_requires=install_requires, extras_require={"dev": dev_requires}, classifiers=[ "Natural Language :: English", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Topic :: Software Development :: Libraries", ], )