-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathsetup.py
More file actions
83 lines (76 loc) · 2.25 KB
/
setup.py
File metadata and controls
83 lines (76 loc) · 2.25 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import find_packages, setup
from pathlib import Path
short_description = "No description has been added so far."
version = "0.4.21"
if (Path().parent / "PACKAGE.rst").is_file():
with open(str(Path().parent / "PACKAGE.rst")) as readme_file:
long_description = readme_file.read()
requirements = ["kerasltisubmission>=0.4.9"]
test_requirements = [
"tox",
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-sugar",
"mypy",
"pyfakefs",
]
coverage_requirements = ["coverage", "codecov"]
docs_requirements = []
formatting_requirements = ["flake8", "black==19.10b0", "isort"]
tool_requirements = [
"twine",
"invoke",
"ruamel.yaml",
"pre-commit",
"cookiecutter",
"bump2version",
]
dev_requirements = (
requirements
+ test_requirements
+ coverage_requirements
+ docs_requirements
+ formatting_requirements
+ tool_requirements
)
setup(
author="into-ai",
author_email="introintoai@gmail.com",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
python_requires=">=3.6",
install_requires=requirements,
setup_requires=tool_requirements,
tests_require=test_requirements,
extras_require=dict(
dev=dev_requirements, docs=docs_requirements, test=test_requirements
),
license="MIT",
description=short_description,
long_description=long_description,
include_package_data=True,
package_data={"deeplearning2020": []},
keywords="deeplearning2020",
name="deeplearning2020",
packages=find_packages(include=["deeplearning2020"]),
test_suite="tests",
url="https://github.com/into-ai/deeplearning2020",
version=version,
zip_safe=False,
)