-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (38 loc) · 1.12 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
from setuptools import find_packages, setup
from pepsin import version
with open("./README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def read_requirements():
with open("./requirements.txt", "r") as req:
content = req.read()
requirements = content.split("\n")
return requirements
VERSION = version.get_version()
setup(
name="pepsin",
version=VERSION,
include_package_data=True,
description="Python PIP Toolchain cli",
author="Khan Asfi Reza",
author_email="khanasfireza10@gmail.com",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=("tests*",)),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=read_requirements(),
package_data={
"": [
"pepsin/templates",
"pepsin/templates/*",
]
},
entry_points="""
[console_scripts]
pepsin=pepsin.main:main
""",
python_requires=">=3.6",
)