Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add setup.py and MANIFEST.in files

Roland Geider6331f522b4d0
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 000000000..07e241b90
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,22 @@
+include README.rst
+include AGPL.txt
+include CC-BY-SA.txt
+include manage.py
+
+recursive-include wger/manager/static *
+recursive-include wger/manager/templates *
+recursive-include wger/manager/fixtures *
+
+recursive-include wger/exercises/templates *
+recursive-include wger/exercises/fixtures *
+
+recursive-include wger/nutrition/templates *
+recursive-include wger/nutrition/fixtures *
+
+recursive-include wger/software/templates *
+
+recursive-include wger/weight/templates *
+recursive-include wger/weight/fixtures *
+
+recursive-include wger/locale *.mo *.po
+recursive-include wger *.html
\ No newline at end of file
diff --git a/setup.py b/setup.py
new file mode 100644
index 000000000..91d5de48b
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,60 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+ Setup script for wger Workout manager
+
+ :copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
+ :license: GNU GPL, see LICENSE for more details.
+"""
+
+# for python 2.5 support
+from __future__ import with_statement
+
+from setuptools import setup
+from setuptools import find_packages
+from wger.workout_manager import get_version
+
+
+with open('README.rst') as readme:
+ long_description = readme.read()
+
+setup(
+ name='wger',
+ description='Workout and exercise manager',
+ long_description=long_description,
+ version=get_version(),
+ url='http://wger.de',
+ author='Roland Geider',
+ author_email='[email protected]',
+ license='AGPL3+',
+ packages=find_packages(exclude=['tests']),
+ include_package_data=True,
+ classifiers=[
+ # http://pypi.python.org/pypi?%3Aaction=list_classifiers
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Other Audience',
+ 'Framework :: Django',
+ 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ ],
+ setup_requires=[
+ 'versiontools >= 1.6',
+ ],
+ install_requires=[
+ 'django >= 1.4',
+ 'reportlab',
+ 'django-browserid',
+ 'django-recaptcha',
+ 'django_mobile',
+ 'django-discover-runner',
+ 'pep8',
+ 'bleach',
+ ],
+ entry_points={
+ 'console_scripts': [
+ 'wger = wger.main:main',
+ ],
+ },
+)