Skip to content
Browse files

picking up the package data

  • Loading branch information...
1 parent 8276741 commit 399d33b3a7d8536185657a4734cff5a106615c33 @buzztroll buzztroll committed May 18, 2012
Showing with 9 additions and 8 deletions.
  1. +9 −8 setup.py
View
17 setup.py
@@ -1,19 +1,17 @@
#!/usr/bin/env pythonv
-try:
- from setuptools import setup, find_packages
-except ImportError:
- from distutils.core import setup
+from setuptools import setup, find_packages
import sys
-Version = "0.2"
+Version = "0.2.1"
+Name = "phantomweb"
if float("%d.%d" % sys.version_info[:2]) < 2.6:
sys.stderr.write("Your Python version %d.%d.%d is not supported.\n" % sys.version_info[:3])
- sys.stderr.write("eeagent requires Python 2.6 or newer.\n")
+ sys.stderr.write("%s requires Python 2.6 or newer.\n" % (Name))
sys.exit(1)
-setup(name='phantomweb',
+setup(name=Name,
version=Version,
description='A Django app for Nimbus Autoscale',
author='Nimbus Development Team',
@@ -22,7 +20,10 @@
keywords = "Nimbus auto scale",
long_description="""Some other time""",
license="Apache2",
- install_requires = ["django == 1.4", "boto == 2.0", "mysql-python", "phantomsql"],
+ packages=['phantomweb'],
+ include_package_data=True,
+ package_data={ 'phantomweb': ['templates/registration/*.html', 'templates/*.html', 'static/css/*', 'static/js/*', 'static/images/*'] },
+ install_requires = ["django == 1.4", "boto == 2.0", "phantomsql"],
classifiers=[
'Development Status :: 4 - Beta',

0 comments on commit 399d33b

Please sign in to comment.
Something went wrong with that request. Please try again.