This repository has been archived by the owner on Mar 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
63 lines (59 loc) · 1.96 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
import os.path
import sys
import warnings
from setuptools import setup
executables = []
setup_options = {}
if sys.platform == 'win32':
try:
from cx_Freeze import setup, Executable
executables.append(Executable("gns3-converter.py"))
except ImportError:
warnings.warn('Module "cx_Freeze" not found. Skipping exe file creation.')
setup_options = {
'build_exe': {
'namespace_packages': 'gns3converter',
'packages': 'gns3converter',
'zip_includes': [
(
'gns3converter/configspec',
os.path.join('gns3converter', 'configspec')
)
],
'include_msvcr': True
}
}
setup(
name='gns3-converter',
version=__import__('gns3converter').__version__,
packages=['gns3converter'],
url='https://github.com/dlintott/gns3-converter',
license='GPLv3+',
author='Daniel Lintott',
author_email='[email protected]',
description='Convert old ini-style GNS3 topologies (<=0.8.7) to the '
'newer version 1+ JSON format',
long_description=open("README.rst", "r").read(),
test_suite='tests',
install_requires=['configobj'],
package_data={'gns3converter': ['configspec']},
entry_points={
'console_scripts': ['gns3-converter = gns3converter.main:main']
},
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License '
'v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Education',
'Topic :: Utilities'
]
)