-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
41 lines (38 loc) · 1.67 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
import codecs
from setuptools import setup, find_packages
with open('transitions_gui/version.py') as f:
exec(f.read())
with codecs.open('README.md', 'r', 'utf-8') as f:
long_description = ''.join(f.readlines()[3:])
long_description = long_description.replace(
'doc/img', 'https://raw.githubusercontent.com/aleneum/transitions-gui/%s/doc/img' % __version__)
setup(
name="transitions-gui",
version=__version__,
description="A frontend for the state machine library transitions",
long_description=long_description,
long_description_content_type="text/markdown",
author='Alexander Neumann',
author_email='aleneum@gmail.com',
url='http://github.com/pytransitions/transitions-gui',
packages=find_packages(exclude=['tests', 'test_*']),
include_package_data=True,
package_data={'transitions_gui': ['templates/*', 'static/css/*', 'static/js/*', 'static/img/*']},
install_requires=['tornado>=5.0', 'transitions>=0.9.0'],
extras_require={},
tests_require=['pytest', 'pycodestyle', 'websocket-client'],
license='MIT',
download_url='https://github.com/pytransitions/transitions-gui/archive/%s.tar.gz' % __version__,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
)