Permalink
Browse files

added info for packaging and pypi

  • Loading branch information...
1 parent 7193c8c commit dd249789fb8fda1c2df09eb6e213c4247b5558bd @dduan committed Jul 21, 2010
Showing with 27 additions and 7 deletions.
  1. +4 −0 MANIFEST.in
  2. +3 −0 README.txt
  3. +19 −6 setup.py
  4. +1 −1 sophie/__init__.py
View
@@ -0,0 +1,4 @@
+include LICENSE.txt README.rst AUTHORS.txt README.txt
+recursive-include docs *.py *.txt *.bat
+recursive-include sophie *.py *.css *.js *.html
+prune docs/_*
View
@@ -0,0 +1,3 @@
+Source: http://github.com/DaNmarner/django-sophie
+
+See README.rst and /docs for more information.
View
25 setup.py 100644 → 100755
@@ -1,19 +1,31 @@
import os
from distutils.core import setup
-from sophie import VERSION
+import sophie
-readme = open(os.path.join(os.path.dirname(__file__), 'README.txt'))
+readme = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
+
+ver = sophie.get_version()
setup(
name = 'django-sophie',
- packages = ['sophie'],
- version = '.'.join(map(str, VERSION)),
- description = 'Just another django-based blog engine',
+ packages = [ 'sophie', ],
+ package_data = {
+ 'sophie': [
+ 'sophie/templates/*',
+ 'sophie/tests/*',
+ 'sophie/media/*',
+ 'sophie/fixtures/*',
+ ]},
+ version = ver,
+ description = 'A django-based blog engine that runs on more databases',
long_description = readme.read(),
+ url = 'http://github.com/DaNmarner/django-sophie',
+ download_url = 'http://github.com/DaNmarner/django-sophie/zipball/%s' % ver,
author = 'DaNmarner',
author_email = 'DaNmarner@gmail.com',
- key_words = ['django', 'blog', 'cms'],
+ keywords = ['django', 'blog', 'cms'],
+ license = 'BSD',
classifiers = [
'Programming Language :: Python',
'Development Status :: 2 - Pre-Alpha',
@@ -23,6 +35,7 @@
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'License :: OSI Approved :: BSD License',
],
)
View
@@ -1,4 +1,4 @@
-VERSION = (0, 0, 1, 'alpha', 0)
+VERSION = (0, 0, 2, 'alpha', 0)
# meaning = (major, minor, micro, stage, release)

0 comments on commit dd24978

Please sign in to comment.