-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (39 loc) · 1.14 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 os
import setuptools
def requirements(file="requirements.txt"):
if os.path.isfile(file):
with open(file, encoding="utf-8") as r:
return [i.strip() for i in r]
else:
return []
def readme(file="README.md"):
if os.path.isfile(file):
with open(file, encoding="utf8") as r:
return r.read()
else:
return ""
setuptools.setup(
name="ISRO",
version="0.0.1",
description="Indian Space Research Organisation",
long_description=readme(),
long_description_content_type="text/markdown",
license="MIT",
author="Fayas Noushad",
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
project_urls={
"Tracker": "https://github.com/FayasNoushad/ISRO/issues",
"Source": "https://github.com/FayasNoushad/ISRO"
},
python_requires=">=3.6",
py_modules=['isro'],
packages=setuptools.find_packages(),
zip_safe=False,
install_requires=requirements()
)