1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
from io import open
from os import path, environ
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="trove-classifiers",
description="Canonical source for classifiers on PyPI (pypi.org).",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pypa/trove-classifiers",
author="The PyPI Admins",
author_email="admin@pypi.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Typing :: Typed",
],
keywords="classifiers",
package_dir={"": "src"},
packages=find_packages(where="src"),
package_data={"": ["py.typed"]},
version=environ["DEB_VERSION_UPSTREAM"],
use_calver=False,
#setup_requires=["calver"],
entry_points={
"console_scripts": ["trove-classifiers=trove_classifiers.__main__:cli"],
},
)
|