-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.46 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
from setuptools import setup, find_packages
# Checking install of PyQt5
pyqt5_failed = False
try:
import PyQt5
except ImportError:
import pip
pyqt5_failed = pip.main(['install', 'PyQt5'])
# Actual setup.
setup(
name="Pythot",
version="1.0.6",
license="GPLv3",
keywords="math mathematics education linear equation equations",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
"Topic :: Education",
"Topic :: Scientific/Engineering :: Mathematics"
],
packages=find_packages(),
scripts=['bin/pythot'],
setup_requires=["pip", "setuptools"],
install_requires=['sympy>=1.1'],
package_data={
'pythot': ['doc/*.qhc', 'doc/*.qch']
},
author="Christophe Riolo",
author_email="[email protected]",
description="Software for learning first degree linear equation with visual solving."
)
if pyqt5_failed:
print("\nAutomated install of PyQt5 has failed. Try to install it manually.\n")