Permalink
Browse files

make this installable

  • Loading branch information...
1 parent 79238cf commit a161f10b8b2aca9683979a713aafc50f49d08568 @mtigas committed Jun 30, 2012
Showing with 61 additions and 4 deletions.
  1. +21 −0 LICENSE
  2. +3 −0 MANIFEST.in
  3. +0 −4 README.markdown
  4. +9 −0 django_medusa/__init__.py
  5. +2 −0 setup.cfg
  6. +26 −0 setup.py
View
@@ -0,0 +1,21 @@
+django-medusa
+Copyright (c) 2011-2012 Mike Tigas <mike@tig.as>
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -0,0 +1,3 @@
+include LICENSE
+include MANIFEST.in
+include README.markdown
View
@@ -1,7 +1,3 @@
-
-
-**EARLY WIP, PROBABLY TOTALLY BROKEN, DO NOT USE, ET CETERA, ET CETERA.**
-
# django-medusa
Allows rendering a Django-powered website into a static website a la *Jekyll*,
@@ -0,0 +1,9 @@
+VERSION = (0, 1, 0, "dev")
+
+def get_version():
+ version = '%s.%s' % (VERSION[0], VERSION[1])
+ if VERSION[2]:
+ version = '%s.%s' % (version, VERSION[2])
+ if VERSION[3:]:
+ version = '%s.%s' % (version, VERSION[3])
+ return version
View
@@ -0,0 +1,2 @@
+[egg_info]
+tag_date = 0
View
@@ -0,0 +1,26 @@
+from setuptools import setup, find_packages
+
+install_requires = [
+ 'django',
+]
+
+version = __import__('django_medusa').get_version()
+
+setup(name='django-medusa',
+ version=version,
+ description='A Django static website generator.',
+ author='Mike Tigas', # update this as needed
+ author_email='mike@tig.as', # update this as needed
+ url='https://github.com/mtigas/django-medusa/',
+ download_url='https://github.com/mtigas/django-medusa/downloads',
+ packages=find_packages(),
+ install_requires=install_requires,
+ license='MIT',
+ keywords='django static staticwebsite staticgenerator publishing',
+ classifiers=["Development Status :: 3 - Alpha",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Topic :: Software Development :: Libraries :: Python Modules"
+ ],
+)

0 comments on commit a161f10

Please sign in to comment.