Commits

Lynn Rees committed 5c14f40

- readme, setup

  • Participants
  • Parent commits 77561db
  • Branches default

Comments (0)

Files changed (4)

File CHANGELOG.txt

+0.1.0
+
+- release
 include LICENSE.txt
 include MANIFEST.in
+include README.rst
+include CHANGELOG.txt
 recursive-include graphalchemy *.py
+*graphalchemy* is a generic object to graph mapper for graph databases.
 # -*- coding: utf-8 -*-
-'''graphalchemy setup'''
+'''setup for graphalchemy'''
 
-from __future__ import absolute_import, unicode_literals, print_function
+from __future__ import unicode_literals
 
-from setuptools import setup
+import os
+import sys
+
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
+install_requires = [
+        'spine', 'nanotime', 'stuf>=0.8.1', 'MarkupSafe', 'six>=1.1.0'
+        'zope.interface>=3.8.0',
+    ]
+if sys.version_info[0] == 2 and sys.version_info[1] < 7:
+    install_requires.extend(['importlib', 'ordereddict', 'unittest2'])
 
 setup(
     name='graphalchemy',
     version='0.1.0',
     url='http://bitbucket.com/lcrees/graphalchemy',
     description='a graph database frontend',
+    long_description=open(os.path.join(os.getcwd(), 'README.rst'), 'r').read(),
     author='L. C. Rees',
+    license='BSD',
     author_email='lcrees@gmail.com',
     packages=['graphalchemy', 'graphalchemy.tests'],
     classifiers=[
         'Development Status :: 3 - Alpha',
+        'License :: OSI Approved :: BSD License',
+        'Natural Language :: English',
         'Operating System :: OS Independent',
-        'License :: OSI Approved :: BSD License',
-        'Topic :: Database',
-        'Topic :: Database :: Front-Ends',
-        'Programming Language :: Python',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: Implementation :: CPython',
+        'Programming Language :: Python',
+        'Topic :: Database :: Front-Ends',
+        'Topic :: Database',
     ],
-    requirements=['octopus', 'nanotime', 'stuf>=0.6.0', 'MarkupSafe'],
+    requirements=install_requires,
     zip_safe=False,
 )