-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
52 lines (47 loc) · 1.66 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
# -*- coding: utf-8 -*-
"""
Copyright (C) 2020 by the Georgia Tech Research Institute (GTRI)
This software may be modified and distributed under the terms of
the BSD 3-Clause license. See the LICENSE file for details.
"""
# Learn more: https://github.com/kennethreitz/setup.py
import re
from pathlib import Path
from setuptools import find_packages, setup
NAME = "model_processing"
HERE = Path(__file__).parent
SRC = HERE / "src" / NAME
VERSION_RE = r""".*__version__ = (['"])(\d+\.\d+\.\d+.*)\1.*"""
setup(
name=NAME,
version=re.findall(VERSION_RE, (SRC / "_version.py").read_text())[0][1],
# TODO: better description - MAKE PR TASK
description="Rapid Data Ingestion for Model Based Systems Engineers",
long_description=(HERE / "README.md").read_text(),
long_description_content_type="text/markdown",
author="Georgia Tech Research Corporation",
author_email="[email protected]",
# TODO: better url - MAKE PR TASK
url="https://github.com/gtri/rapid-modeling-tools",
license="BSD-3-Clause",
package_dir={"": "src"},
packages=find_packages("src"),
entry_points={
"console_scripts": ["model-processing = model_processing.cli:main",],
},
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
install_requires=[
"pandas",
"networkx >=2.3",
"xlrd >=0.9.0",
"openpyxl",
],
tests_require=["pytest", "pytest-cov", "pytest-flake8", "pytest-black"],
zip_safe=False,
)