From d3151d4e9bd4e6e0ffd90f6a70da0c3b0b0dc57a Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 21 May 2013 10:14:55 -0700 Subject: [PATCH 1/2] adding gitignore for all pyc files and for generated build files. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 25e7e00..c146f68 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,7 @@ /local /share /env +/build +/dist +*.pyc* +/django_jquery_file_upload.egg-info From 0bad158ac43ede22436558d27b190844da307fd7 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 21 May 2013 10:16:40 -0700 Subject: [PATCH 2/2] adding valid setup.py - the django project with the setup.py file serves as an example / test. the package 'fileupload' is installed by the setup.py file as well as all of the necessary dependencies and the static media. Run python manage.py collectstatic to get the static media into your project. --- setup.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..823ec38 --- /dev/null +++ b/setup.py @@ -0,0 +1,18 @@ +""" +django-jquery-file-upload +""" + +from setuptools import setup, find_packages + +setup( + name = "django-jquery-file-upload", + version = "0.0.1", + url = "", + license = "The MIT License (MIT)", + description = "A minimal django project containing a minimal app with a working jquery file upload form based on the work by Sebastian Tschan: http://aquantum-demo.appspot.com/file-upload", + author = 'Sebastian Tschan / Sigurd Gartmann', + packages = find_packages(), + include_package_data = True, + package_dir = {'': '.'}, + install_requires = ['django', 'pillow'], +)