forked from signetlabdei/sem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (51 loc) · 1.69 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
# -*- coding: utf-8 -*-
import sys
if sys.version_info < (3, 5):
error = """
SEM only supports Python 3.5 and above.\n\nPlease upgrade your Python and try again,\nor make sure you are using the pip3 command!
""".format(py='.'.join([str(v) for v in sys.version_info[:3]]))
print(error)
sys.exit(1)
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
with open(path.join(here, 'LICENSE'), encoding='utf-8') as f:
license = f.read()
setup(
name='sem',
url='https://github.com/DvdMgr/sem',
version='0.2.3',
description='A simulation execution manager for ns-3',
long_description=readme,
long_description_content_type='text/markdown',
author='Davide Magrin',
author_email='magrinda@dei.unipd.it',
keywords='ns-3 simulation execution',
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples']),
python_requires='>=3.5',
package_data={
'': ['*.sh'],
},
classifiers = [
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=['tinydb', 'tqdm', 'numpy', 'xarray', 'drmaa',
'gitpython', 'click', 'scipy'],
extras_require={
'dev': ['check-manifest'],
'test': ['pytest'],
},
entry_points={
'console_scripts': [
'sem=sem:cli',
],
},
license="GNU GPL v2",
)