-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
48 lines (46 loc) · 1.76 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
from setuptools import setup, find_packages
import platform
if platform.system()=='Windows':
install_requires = ["numpy", "matplotlib", "pyqt5"]
isWin = True
else:
install_requires = ["numpy", "matplotlib",'pyqt5==5.14.0']
isWin = False
setup(name='rfigure',
version='3.0',
description='Creation and edition of figures with Python',
long_description="""RFigure is a program that deals save in a specific file (whose extension is
rfig3) the data and the code that is needed to produce a matplotlib figure.""",
classifiers=[
'Development Status :: 3.0',
'License :: GPL-3.0',
'Programming Language :: Python :: 3.7',
'Topic :: Image processing :: Matplotlib',
],
keywords='figure image plot matplotlib',
python_requires='>=3.6',
url='https://github.com/grumpfou/RFigure',
author='Renaud Dessalles',
author_email='see on my website',
license='GPL-3.0',
packages=find_packages(),
package_data = {'RFigure':['images/*.png']},
install_requires=install_requires,
include_package_data=True,
# entry_points={
# 'gui_scripts': ['rfigt = bin/rfig'],
# },
scripts=['bin/rfig'],
data_files = [("config",['RFigure/RFigureConfig/RFigureHeader.py']),
# ("bitmaps",['RFigure/RFigureConfig/RFigureHeader.py',
# ])
],
entry_points = {
'console_scripts': [
'rfig = RFigure.RFigureGui:main',
]
},
zip_safe=False)
# if not isWin:
# print('IMPORTANT: Since you are not in Windows, you will need to install PyQt5 by hand. Try something like \n'
# 'mylogin:$ sudo apt-get install python-qt5')