forked from UTK-ML-Dream-Team/accident-severity-prediction
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
60 lines (51 loc) · 1.77 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
from setuptools import setup, find_packages, Command
import os
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
# Load Requirements
with open('requirements.txt') as f:
requirements = f.readlines()
# Load README
with open('README.md') as readme_file:
readme = readme_file.read()
setup_requirements = []
data_files = ['project_libs/configuration/yml_schema.json']
COMMANDS = []
setup(
author="drkostas, jheiba, Russtyhub, schoward2, isanjeevsingh",
author_email="kgeorgio.vols.utk.edu, jlord1@vols.utk.edu, rlimber@vols.utk.edu, "
"showar37@vols.utk.edu, ssingh42@vols.utk.edu",
python_requires='>=3.8',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
],
cmdclass={
'clean': CleanCommand,
},
data_files=[('', data_files)],
description="Accident Severity Prediction.",
entry_points={'console_scripts': COMMANDS},
install_requires=requirements,
license="MIT license",
long_description=readme,
include_package_data=True,
keywords='us, accidents, severity, prediction',
name='accident-severity-prediction',
packages=find_packages(include=['project_libs',
'project_libs.*']),
setup_requires=setup_requirements,
url='https://github.com/UTK-ML-Dream-Team/accident-severity-prediction',
version='0.1.0',
zip_safe=False,
)