Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (50 loc) · 1.36 KB
/
Copy pathsetup.py
File metadata and controls
61 lines (50 loc) · 1.36 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
"""
Copyright (c) 2017, Jairus Martin.
Distributed under the terms of the GPL v3 License.
The full license is in the file LICENSE, distributed with this software.
Created on Dec 15, 2017
@author: jrm
"""
import sys
from setuptools import setup, find_packages
#: Common requirements
install_requires = [
'enaml>=0.10', # must install pyqt or pyside
'twisted',
'enamlx',
'pyqtgraph',
'qtconsole',
'pyserial>=3.4',
'jsonpickle',
'lxml', # use sudo apt install libxml2-dev libxslt-dev
]
if sys.version_info.major == 2:
install_requires.extend([
'future',
'faulthandler',
'qt4reactor',
])
else:
install_requires.extend([
'PyQt5', # Only works on Python 3
'qt5reactor', # Use qt4reactor on 2.7
])
if sys.platform == 'win32':
install_requires.append('pywin32')
setup(
name='inkcut',
packages=find_packages(),
include_package_data=True,
version="2.0.4",
author="CodeLV",
author_email="frmdstryr@gmail.com",
license='GPLv3',
url='https://github.com/codelv/inkcut/',
description="An application for controlling 2D plotters, cutters, "
"engravers, and CNC machines.",
long_description=open("README.md").read(),
entry_points={
'console_scripts': ['inkcut = inkcut.app:main'],
},
install_requires=install_requires,
)