Skip to content

Commit a2a79fd

Browse files
committed
Update setup.py
1 parent 5dce9c5 commit a2a79fd

File tree

1 file changed

+33
-24
lines changed

1 file changed

+33
-24
lines changed

setup.py

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,44 @@
1+
#!/usr/bin/env python2
12
try:
23
from setuptools import setup
34
except ImportError:
45
from distutils.core import setup
56

6-
7-
config = {
8-
'description': """MiniCPS is a lightweight simulator for accurate network
9-
traffic in an industrial control system, with basic support for physical
10-
layer interaction.""",
11-
12-
'author': 'Daniele Antonioli',
13-
14-
'url': 'https://github.com/scy-phy/minicps',
15-
16-
'download_url': 'https://github.com/scy-phy/minicps',
17-
18-
'author email': '[email protected]',
19-
20-
'version': '1.1.0',
21-
22-
'install_requires': [
7+
# NOTE: https://docs.python.org/2/distutils/setupscript.html
8+
setup(
9+
name='minicps',
10+
version='1.1.0',
11+
description='MiniCPS: a framework for Cyber-Physical Systems \
12+
real-time simulation, built on top of mininet.',
13+
# NOTE: long_description displayed on PyPi
14+
long_description='MiniCPS is a framework for Cyber-Physical Systems \
15+
real-time simulation. It includes support for physical process and \
16+
control devices simulation, and network emulation. It is build \
17+
on top of mininet.',
18+
url='https://github.com/scy-phy/minicps',
19+
author='Daniele Antonioli',
20+
author_email='[email protected]',
21+
license='MIT',
22+
classifiers=[
23+
'License :: OSI Approved :: MIT License',
24+
'Programming Language :: Python :: 2',
25+
'Programming Language :: Python :: 2.7',
26+
],
27+
keywords='simulation cyber-physical systems security real-time mininet',
28+
packages=['minicps'],
29+
# packages=find_packages(exclude=['docs', 'tests*', 'examples', 'temp',
30+
# 'bin']),
31+
# NOTE: for the uses, see requirements for the developer
32+
install_requires=[
2333
'cryptography',
2434
'pyasn1',
2535
'pymodbus',
2636
'cpppo',
2737
],
38+
# NOTE: specify files relative to the module path
39+
package_data={},
40+
# NOTE: specify files with absolute paths
41+
data_files=None,
42+
scripts=[],
43+
)
2844

29-
'package': ['minicps'],
30-
'scripts': [],
31-
'name': 'minicps'
32-
}
33-
34-
35-
setup(**config)

0 commit comments

Comments
 (0)