-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (63 loc) · 2.85 KB
/
setup.py
File metadata and controls
69 lines (63 loc) · 2.85 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
from setuptools import setup
import os.path
import sys
from ev3devcmd.version import __version__ as pkgversion
setup(
name="ev3devcmd",
version=pkgversion,
description="ev3devcmd library and cmdline utility",
long_description="""
ev3devcmd library and cmdline utility
For more info: https://github.com/ev3dev-python-tools/ev3devcmd
""",
url="https://github.com/ev3dev-python-tools/ev3devcmd",
author="Harco Kuppens",
author_email="h.kuppens@cs.ru.nl",
license="MIT",
classifiers=[
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"License :: Freeware",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Education",
"Topic :: Software Development",
],
keywords="IDE education programming EV3 mindstorms lego",
platforms=["Windows", "macOS", "Linux"],
python_requires=">=3.6",
# TEMPORARY HACK:
# We use a mirror of sftpclone v1.2.2, because it has explicit dependency 'paramiko==2.4.1',
# but we need 'paramiko==2.10.1' for ev3devcmd!
# When we used sftpclone v1.2.2 as dependency, then the entry script would thrown an version conflict error
# because ev3devcmd needs 'paramiko==2.10.1' and sftpclone needs 'paramiko==2.4.1'.
# But sftpclone v1.2.2 works fine with the newer 'paramiko==2.10.1', so we took the HACK to include a mirror of it,
# into this ev3devcmd package until a newer version of it requiring 'paramiko==2.10.1' would be available.
# This HACK solves the dependency problem, because we then don't need the requirement for 'sftpclone=1.2.2' anymore.
# so: removed 'sftpclone==1.2.2' from install_requires, and added 'ev3devcmd.sftpclone' to packages
install_requires=['ev3devlogging','paramiko==2.10.1','rpyc==4.1.2'],
#instead of ['ev3devlogging','paramiko==2.10.1','sftpclone==1.2.2','rpyc==4.1.2'],
packages=['ev3devcmd'],
#instead of ['ev3devcmd'],
package_data={'ev3devcmd': ['res/*']},
entry_points={
'console_scripts': [
'ev3dev = ev3devcmd.__main__:main'
]
},
)