Browse Source

Bring me to pip! #284

Rafał Pitoń 11 years ago
parent
commit
74883ce377
2 changed files with 48 additions and 0 deletions
  1. 6 0
      MANIFEST.in
  2. 42 0
      setup.py

+ 6 - 0
MANIFEST.in

@@ -0,0 +1,6 @@
+include LICENSE.md
+include README.md
+include requirements.txt
+recursive-include docs *
+recursive-exclude docs/build *
+recursive-include misago *

+ 42 - 0
setup.py

@@ -0,0 +1,42 @@
+#-*- coding: utf-8 -*-
+import os
+from setuptools import setup
+from misago import __version__ as version
+
+README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
+
+with open("requirements.txt", "r") as f:
+    REQUIREMENTS = [x.strip() for x in f.readlines()]
+
+# allow setup.py to be run from any path
+os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
+
+
+setup(
+    name='misago',
+    version=version,
+    packages=['misago'],
+    include_package_data=True,
+    license='GNU General Public License v2 (GPLv2)',
+    description='Misago is be complete, featured and modern forum solution.',
+    long_description=README,
+    url='http://www.misago-project.org/',
+    author=u'Rafał Pitoń',
+    author_email='kontakt@rpiton.com',
+    install_requires=REQUIREMENTS,
+    classifiers=[
+        'Development Status :: 2 - Pre-Alpha',
+        'Environment :: Web Environment',
+        'Framework :: Django',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2.7',
+        'Topic :: Internet :: WWW/HTTP',
+        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+        "Topic :: Internet :: WWW/HTTP :: WSGI",
+        "Topic :: Software Development :: Libraries :: Application Frameworks",
+        "Topic :: Software Development :: Libraries :: Python Modules",
+    ],
+)