Commits

Ian George committed b545192

Added setup script

  • Participants
  • Parent commits c98534a

Comments (0)

Files changed (1)

+from setuptools import setup
+# This setup file "inspired" by the setup code from django-fsm
+# https://github.com/kmmbvnr/django-fsm/blob/master/setup.py
+
+VERSION_TUPLE = (0,1)
+VERSION = "%s.%s" % VERSION_TUPLE
+
+try:
+    long_description = open('README.md').read()
+except IOError:
+    long_description = ''
+
+setup(
+    name='django-statemachine',
+    version=VERSION,
+    description='Basic Finite State Machine library for Django, includes state history.',
+    author='Ian George',
+    author_email='ian@iangeorge.net',
+    url='http://bitbucket.org/elbeanio/',
+    packages=['statemachine', ],
+    include_package_data=True,
+    classifiers=[
+        'Development Status :: 4 - Beta',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: BSD License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Framework :: Django',
+    ]
+)