-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
71 lines (66 loc) · 2.49 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
64
65
66
67
68
69
70
71
from setuptools import setup
import os.path
import sys
if sys.version_info < (3,4):
raise RuntimeError("Thonny requires Python 3.4 or later")
setupdir = os.path.dirname(__file__)
with open(os.path.join(setupdir, 'thonny', 'VERSION'), encoding="ASCII") as f:
version = f.read().strip()
requirements = []
for line in open(os.path.join(setupdir, 'requirements.txt'), encoding="ASCII"):
if line.strip() and not line.startswith('#'):
requirements.append(line)
setup(
name="thonny",
version=version,
description="Python IDE for beginners",
long_description="Thonny is a simple Python IDE with features useful for learning programming. See http://thonny.org for more info.",
url="http://thonny.org",
author="Aivar Annamaa and others",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"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",
"Topic :: Education",
"Topic :: Software Development",
"Topic :: Software Development :: Debuggers",
"Topic :: Text Editors",
],
keywords="IDE education debugger",
platforms=["Windows", "macOS", "Linux"],
install_requires=requirements,
python_requires=">=3.4",
packages=["thonny",
"thonny.shared",
"thonny.shared.thonny",
"thonny.plugins",
"thonny.plugins.system_shell",
"thonny.plugins.help",
],
package_data={'': ['VERSION', 'res/*'],
'thonny.plugins.help' : ['*.rst']},
entry_points={
'gui_scripts': [
'thonny = thonny:launch',
]
},
)