-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
48 lines (46 loc) · 1.49 KB
/
setup.py
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
38
39
40
41
42
43
44
45
46
47
48
# pylint:disable=missing-docstring,invalid-name
import setuptools
import versioneer
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="StrEnum",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="James Sinclair",
author_email="[email protected]",
description="An Enum that inherits from str.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/irgeek/StrEnum",
packages=["strenum"],
package_data={"strenum": ["*.typed", "*.pyi"]},
extras_require={
"test": [
"pytest",
"pytest-black",
"pytest-cov",
"pytest-pylint",
"pylint",
],
"docs": [
"sphinx",
"sphinx_rtd_theme",
"myst-parser[linkify]",
],
"release": ["twine"],
},
setup_requires=["pytest-runner"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)