From b0bc57246fefc737d69980d6a8249080dab6926e Mon Sep 17 00:00:00 2001 From: zaturox Date: Wed, 25 Mar 2015 18:12:08 +0100 Subject: [PATCH] added Setup Files --- .gitignore | 4 ++++ LICENSE.txt | 3 +++ MANIFEST.in | 2 ++ README.txt | 3 +++ setup.py | 21 +++++++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 LICENSE.txt create mode 100644 MANIFEST.in create mode 100644 README.txt create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 8a59058..22aeb5c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,10 @@ /docu/dokumentation.pdf /docu/docu.sublime-workspace /docu/docu.pdf + +/dist +/django_tartan.egg-info + migrations/ __pycache__/* diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..0b200a9 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,3 @@ +This is an internal Test distribution. + +You are not allowed to copy, modify or execute this package without explicit permission. \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f0516d8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include Tartan/static * +recursive-include Tartan/templates * \ No newline at end of file diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..0b200a9 --- /dev/null +++ b/README.txt @@ -0,0 +1,3 @@ +This is an internal Test distribution. + +You are not allowed to copy, modify or execute this package without explicit permission. \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..27f2e55 --- /dev/null +++ b/setup.py @@ -0,0 +1,21 @@ +from setuptools import setup +import os + +setup( + name="django-tartan", + version="0.8.0", + + author="Julian Geywitz, Michael Schubert", + author_email="willBeAddedLater@example.com", + + packages=["Tartan"], + include_package_data = True, + + #package_data = {'PhotoGallery':['templates/*']}, + #package_data={"PhotoGallery": list(map(lambda x: x[0].lstrip("PhotoGallery/")+"/*", filter (lambda x: x[2],os.walk("PhotoGallery/static")))) + ["templates/*", "templates/PhotoGallery/*"]}, + + zip_safe=False, + + url="https://github.com/geigi/Tartan", + description="Django based Photo Gallery", + ) \ No newline at end of file