forked from jtushman/state_machine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 982 Bytes
/
setup.py
File metadata and controls
34 lines (29 loc) · 982 Bytes
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
import os
from setuptools import setup
def get_packages():
# setuptools can't do the job :(
packages = []
for root, dirnames, filenames in os.walk('state_machine'):
if '__init__.py' in filenames:
packages.append(".".join(os.path.split(root)).strip("."))
return packages
required_modules = []
setup(name='state_machine',
version='0.3.0',
description='Python State Machines for Humans',
url='https://github.com/egillet/state_machine',
author='Jonathan Tushman',
author_email='jonathan@zefr.com',
install_requires=required_modules,
license='MIT',
packages=get_packages(),
zip_safe=False,
tests_require=['nose'],
test_suite='nose.collector',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
]
)