diff --git a/.gitignore b/.gitignore index 634e621..846097d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +dist/ +build/ +*.egg-info/ *.pyc ._* *.sqlite3 diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..5d9fe0e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE.md +include README.md +recursive-include pydash/static * +recursive-include pydash/templates * diff --git a/README.md b/README.md index 3be045b..9e02e75 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ __[View Demo](http://pydash.hostechs.com/)__ Installation ============ -Clone the repository to your pc and copy the pydash folder to your django application. +Clone the repository to your pc and, assuming that ``pip`` is installed, run the +following commands: + +* `` python setup.py sdist `` +* `` pip install dist/django-pydash-app-*.tar.gz `` Make sure that ``django.contrib.auth`` is installed and working. diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e17ac72 --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +import os +from setuptools import setup + +README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() + +# 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='django-pydash-app', + version='1.4.4', + packages=['pydash'], + include_package_data=True, + license='MIT', + description='A reusable django app for monitoring your linux server.', + long_description='', + url='https://github.com/k3oni/pydash-django-app', + author='Florian N.', + author_email='michaelneagu@gmail.com', + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Web Environment' + 'Framework :: Django', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: MIT License', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + ], +)