-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (54 loc) · 1.88 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/use/python
from os.path import join, dirname, abspath
from setuptools import setup, find_packages
__HERE__ = abspath(dirname(__file__))
__SRC__ = join(__HERE__, 'src')
def read(file_path):
ret_value ={}
with open(file_path, 'r') as file_reader:
exec(file_reader.read(), ret_value)
return ret_value
def read_requirements():
with open('requirements.txt', 'r') as file_reader:
return [line.rstrip() for line in file_reader]
ABOUT = read(join(__SRC__, 'gmutils', '__version__.py'))
setup(
name=ABOUT['__name__'],
fullname=ABOUT['__name__'] + '.' + ABOUT['__version__'],
version=ABOUT['__version__'],
author=ABOUT['__author__'],
author_email=ABOUT['__email__'],
license=ABOUT['__license__'],
description=ABOUT['__description__'],
long_description=ABOUT['__summary__'],
url=ABOUT['__url__'],
project_urls = {
'Source Code': 'https://github.com/GeekMasher/GMUtils',
'Bug Tracker': 'https://github.com/GeekMasher/GMUtils/issues'
},
packages=find_packages(__SRC__),
package_dir={'':'src'},
exclude_package_data={
'': ['README.md']
},
install_requires=read_requirements(),
include_package_data=True,
scripts = {
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6"
]
)