-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
77 lines (57 loc) · 1.27 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
73
74
75
76
77
"""
Setup script.
:author: xarbulu
:organization: SUSE LLC
:contact: [email protected]
:since: 2019-06-02
"""
import os
from setuptools import find_packages
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import utproject
def read(fname):
"""
Utility function to read the README file. README file is used to create
the long description.
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
VERSION = utproject.__version__
NAME = "utproject"
DESCRIPTION = "Project to show good UT practices"
AUTHOR = "xarbulu"
AUTHOR_EMAIL = "[email protected]"
URL = ""
LICENSE = "GPL v3"
CLASSIFIERS = [
]
SCRIPTS = []
#DEPENDENCIES = read('requirements.txt').split()
DEPENDENCIES = []
PACKAGE_DATA = {}
DATA_FILES = []
SETUP_PARAMS = dict(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
long_description=read('README.md'),
packages=find_packages(),
package_data=PACKAGE_DATA,
license=LICENSE,
scripts=SCRIPTS,
data_files=DATA_FILES,
install_requires=DEPENDENCIES,
classifiers=CLASSIFIERS,
)
def main():
"""
Setup.py main.
"""
setup(**SETUP_PARAMS)
if __name__ == "__main__":
main()