-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1.19 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
import pathlib
from glob import glob
from os.path import basename, splitext
from setuptools import find_packages, setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.rst").read_text()
DEVELOPMENT_REQUIREMENTS = [
"black",
"isort",
"pre-commit",
"pytest",
"pytest-cov",
"tox",
]
setup(
name="easy-choices",
version="1.0.0",
description="Handle choices field easily",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
url="https://github.com/olist/easy-choices",
author="Olist Developers",
author_email="developers@olist.com",
license="Apache License",
classifiers=[
"Development Status :: 5 - Production/Stable ",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
extras_require={"dev": DEVELOPMENT_REQUIREMENTS},
)