-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
41 lines (35 loc) · 1.08 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
import runpy
import setuptools
DEV_REQUIREMENTS = [
"black",
"flake8",
"isort",
"jupyterlab",
"pre-commit",
"pytest",
]
# Parse requirements
install_requires = [line.strip() for line in open("requirements.txt").readlines()]
# Get long description
with open("README.md", "r", encoding="UTF-8") as fh:
long_description = fh.read()
__version__ = runpy.run_path("ai_awesome/_version.py")["__version__"]
# Setup package
setuptools.setup(
name="Replace with project name",
version=__version__,
author="Replace with your name",
author_email="Replace with your email",
description="Give short description of your project.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/your_project_link",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache License",
"Operating System :: OS Independent",
],
install_requires=install_requires,
extras_require={"dev": DEV_REQUIREMENTS},
)