-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
54 lines (48 loc) · 1.87 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
import codecs
import os
from setuptools import setup, find_packages, Command
HERE = os.path.abspath(os.path.dirname(__file__))
# Get __version__
exec(open('pysm/version.py').read())
def read(*parts):
# Build an absolute path from *parts* and and return the contents of the
# resulting file. Assume UTF-8 encoding.
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name='pysm',
version=__version__,
url='https://github.com/pgularski/pysm',
description='Versatile and flexible Python State Machine library',
author='Piotr Gularski',
author_email='piotr.gularski@gmail.com',
license='MIT',
long_description=read('README.rst'),
long_description_content_type="text/x-rst",
packages=find_packages(),
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: MicroPython',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Telecommunications Industry',
'Natural Language :: English',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-cov', 'mock'],
keywords='finite state machine automaton fsm hsm pda',
)