forked from vinci1it2000/schedula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·85 lines (79 loc) · 2.8 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
78
79
80
81
82
83
84
85
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright 2014 European Commission (JRC);
# Licensed under the EUPL (the 'Licence');
# You may not use this work except in compliance with the Licence.
# You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
from setuptools import setup, find_packages
import io
import os.path as osp
name = 'schedula'
mydir = osp.dirname(__file__)
# Version-trick to have version-info in a single place,
# taken from: http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package
##
def read_project_version():
fglobals = {}
with io.open(osp.join(
mydir, name, '_version.py'), encoding='UTF-8') as fd:
exec(fd.read(), fglobals) # To read __version__
return fglobals['__version__']
proj_ver = read_project_version()
download_url = 'https://github.com/vinci1it2000/%s/releases/tag/v%s' % (name, proj_ver)
setup(
name=name,
version=proj_ver,
packages=find_packages(exclude=[
'test', 'test.*',
'doc', 'doc.*',
'appveyor', 'requirements'
]),
url='',
download_url=download_url,
license='EUPL 1.1+',
author='Vincenzo Arcidiacono',
author_email='[email protected]',
description='A dispatch function calls.',
keywords=[
"python", "utility", "library", "data", "processing",
"calculation", "dependencies", "resolution", "scientific",
"engineering", "dispatch", "scheduling", "simulink", "graphviz",
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Development Status :: 1 - Alpha",
'Natural Language :: English',
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: European Union Public Licence 1.1 (EUPL 1.1)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
install_requires=[
'networkx',
'dill',
'graphviz',
'docopt',
'regex',
'openpyxl>=2.4.0',
'flask',
'pycel'
],
dependency_links=[
'https://github.com/vinci1it2000/pycel/tarball/master#egg=pycel-0.0.1'
],
test_suite='nose.collector',
setup_requires=['nose>=1.0'],
)