Permalink
Browse files

add setup script to distribute/install fido

so it is installable
  • Loading branch information...
1 parent b4c5e8f commit ded177249d82bbf674674c8323495389b7c70272 dwilson committed Aug 17, 2012
Showing with 17 additions and 0 deletions.
  1. +1 −0 MANIFEST.in
  2. +16 −0 setup.py
View
1 MANIFEST.in
@@ -0,0 +1 @@
+recursive-include fido *.*
View
16 setup.py
@@ -0,0 +1,16 @@
+import sys
+from setuptools import setup
+
+# attempt automatic python2 to python3 conversion if using python3
+extra = {}
+if sys.version_info >= (3,):
+ extra['use_2to3'] = True
+
+setup( name='fido',
+ version='1.1.1',
+ install_requires=['distribute'],
+ description='Format Identification for Digital Objects (FIDO)',
+ packages=['fido'],
+ package_data={'fido':['*.*', 'conf/*.*']},
+ entry_points={'console_scripts':['fido = fido.fido:main']},
+ **extra )

0 comments on commit ded1772

Please sign in to comment.