forked from Met4FoF/agentMET4FOF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
86 lines (72 loc) · 2.58 KB
/
Copy pathsetup.py
File metadata and controls
86 lines (72 loc) · 2.58 KB
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
78
79
80
81
82
83
84
85
86
# -*- coding: utf-8 -*-
"""
Install agentMET4FOF in Python path.
"""
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.install import install
# Get release version from agentMET4FOF/__init__.py
from agentMET4FOF import __version__ as VERSION
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def readme():
"""Print long description"""
with open("README.md") as f:
return f.read()
class VerifyVersionCommand(install):
"""Custom command to verify that the git tag matches our version"""
description = "Verify that the git tag matches our version"
def run(self):
tag = os.getenv("CIRCLE_TAG")
if tag != VERSION:
info = "Git tag: {0} does not match the version of this app: " "{1}".format(
tag, VERSION
)
sys.exit(info)
setup(
name="agentMET4FOF",
version=VERSION,
description="A software package for the integration of metrological input "
"into an agent-based system for the consideration of measurement "
"uncertainty in current industrial manufacturing processes.",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/bangxiangyong/agentMET4FOF",
author=u"Bang Xiang Yong, Björn Ludwig, Haris Lulic",
author_email="bxy20@cam.ac.uk",
keywords="uncertainty metrology MAS agent-based agents",
packages=find_packages(exclude=["tests"]),
project_urls={
"Documentation": "https://agentmet4fof.readthedocs.io/",
"Source": "https://github.com/bangxiangyong/agentMET4FOF",
"Tracker": "https://github.com/bangxiangyong/agentMET4FOF/issues",
},
install_requires=[
"numpy",
"scikit-learn",
"matplotlib",
"pandas",
"osbrain",
"dash",
"dash_cytoscape",
"networkx",
"multiprocess",
"plotly",
],
python_requires=">=3.6",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
cmdclass={"verify": VerifyVersionCommand,},
)