forked from nayaverdier/dyntastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (49 loc) · 1.43 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
49
50
51
52
53
54
55
from pathlib import Path
from setuptools import find_packages, setup
ROOT_DIRECTORY = Path(__file__).resolve().parent
readme = (ROOT_DIRECTORY / "README.md").read_text()
description = next(
line for line in readme.splitlines() if line and not line.startswith("#") and not line.startswith("[")
)
changelog = (ROOT_DIRECTORY / "CHANGELOG.md").read_text()
long_description = readme + "\n\n" + changelog
DEV_REQUIRES = [
"black==22.3.0",
"boto3-stubs[dynamodb]==1.21.46",
"coverage==6.3.2",
"flake8==4.0.1",
"flake8-bugbear==22.3.23",
"isort==5.10.1",
"moto==3.1.5",
"mypy==0.942",
"pytest==7.1.2",
"pytest-cov==3.0.0",
"pytest-mock==3.7.0",
]
setup(
name="dyntastic",
version="0.9.0",
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
author="Naya Verdier",
url="https://github.com/nayaverdier/dyntastic",
license="MIT",
packages=find_packages(exclude=("tests",)),
install_requires=[
"boto3>=1.10.0",
"pydantic>=1.7.1",
"importlib-metadata>=1.0.0; python_version < '3.8'",
],
python_requires=">=3.7",
extras_require={
"dev": DEV_REQUIRES,
"deploy": ["twine==4.0.0"],
},
package_data={"dyntastic": ["py.typed"]},
include_package_data=True,
)