summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-05-10 16:54:29 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-05-10 16:54:29 +0200
commit9b14f200bc7c832d5e4fe6dcc761699d7205f3de (patch)
treeb23b02563efbbea03a3891daf53bae8409fa4b44
parent2e7d30196c4c6ab34f2b3e114b586b4539bea2db (diff)
downloadIshtar-9b14f200bc7c832d5e4fe6dcc761699d7205f3de.tar.bz2
Ishtar-9b14f200bc7c832d5e4fe6dcc761699d7205f3de.zip
Work on packaging (setup, requirements, ...)
-rw-r--r--CHANGES.txt5
-rw-r--r--LICENSE.txt (renamed from AGPL.TXT)0
-rw-r--r--README.txt0
-rw-r--r--debian/changelog2
-rw-r--r--ishtar_common/__init__.py4
-rw-r--r--requirements.py3
-rw-r--r--setup.py36
7 files changed, 46 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
new file mode 100644
index 000000000..11dd12511
--- /dev/null
+++ b/CHANGES.txt
@@ -0,0 +1,5 @@
+0.90 (2014-04-25)
+------------------
+
+- First release.
+
diff --git a/AGPL.TXT b/LICENSE.txt
index dba13ed2d..dba13ed2d 100644
--- a/AGPL.TXT
+++ b/LICENSE.txt
diff --git a/README.txt b/README.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/README.txt
diff --git a/debian/changelog b/debian/changelog
index 611f94d7c..385a7355c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-django-ishtar (0.99-1) UNRELEASED; urgency=low
+python-django-ishtar (0.9-1) UNRELEASED; urgency=low
* Initial release.
diff --git a/ishtar_common/__init__.py b/ishtar_common/__init__.py
index 768e8c7b7..7b8a90c36 100644
--- a/ishtar_common/__init__.py
+++ b/ishtar_common/__init__.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (C) 2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
+# Copyright (C) 2014 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
from django.utils.translation import ugettext as _
@@ -8,7 +8,7 @@ from django.utils.translation import ugettext as _
_(u"username")
_(u"email address")
-VERSION = (1, 0)
+VERSION = (0, 9)
def get_version():
return u'.'.join((unicode(num) for num in VERSION))
diff --git a/requirements.py b/requirements.py
index 861cbf032..7f981e826 100644
--- a/requirements.py
+++ b/requirements.py
@@ -1,7 +1,8 @@
#django-simple-history
-django==1.4
psycopg2
django-registration
+django==1.4
+south>=0.7.3,<0.7.99
pil
pisa
reportlab
diff --git a/setup.py b/setup.py
new file mode 100644
index 000000000..d963a43be
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,36 @@
+# -*- coding: utf-8 -*-
+import os
+from setuptools import setup, find_packages
+import ishtar_common
+
+try:
+ reqs = open(os.path.join(os.path.dirname(__file__),
+ 'requirements.txt')).read()
+except (IOError, OSError):
+ reqs = ''
+
+setup(
+ name='ishtar',
+ version=ishtar_common.get_version(),
+ description=
+ "Ishtar is..."\
+ "... and ...",
+ long_description=open('README.txt').read(),
+ author=u'Étienne Loks',
+ author_email='etienne.loks@peacefrogs.net',
+ url='http://pypi.python.org/pypi/ishtar',
+ license='AGPL v3 licence, see COPYING',
+ packages=find_packages(),
+ include_package_data=True,
+ install_requires=reqs,
+ setup_requires=['setuptools-git'],
+ #test_suite = "",
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Web Environment',
+ 'Framework :: Django',
+ 'Intended Audience :: Developers',
+ 'Programming Language :: Python',
+ 'Operating System :: OS Independent',
+ ]
+)