From 1d0250d9ec728760186d123669a27ef0f85400cd Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 5 Aug 2014 14:01:09 +0530 Subject: Placed setup.py in the parent folder. pip install [git repo], this command will automatically run this setup file. --- LICENSE | 3 +++ MANIFEST.in | 7 ++++++ dist/django-exam-0.1.tar.gz | Bin 0 -> 88231 bytes setup.py | 44 ++++++++++++++++++++++++++++++++++++ testapp/LICENSE | 3 --- testapp/MANIFEST.in | 7 ------ testapp/dist/django-exam-0.1.tar.gz | Bin 85437 -> 0 bytes testapp/setup.py | 44 ------------------------------------ 8 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 LICENSE create mode 100644 MANIFEST.in create mode 100644 dist/django-exam-0.1.tar.gz create mode 100644 setup.py delete mode 100644 testapp/LICENSE delete mode 100644 testapp/MANIFEST.in delete mode 100644 testapp/dist/django-exam-0.1.tar.gz delete mode 100644 testapp/setup.py diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6d24163 --- /dev/null +++ b/LICENSE @@ -0,0 +1,3 @@ +This is distributed under the terms of the BSD license. + +Copyright (c) 2011 Prabhu Ramachandran and FOSSEE (fossee.in) diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..80c1688 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE +include README.rst +recursive-include testapp/exam/static * +recursive-include testapp/exam/templates * +recursive-include testapp/exam/management * +recursive-include testapp/exam/output * +recursive-include testapp/exam/fixtures * diff --git a/dist/django-exam-0.1.tar.gz b/dist/django-exam-0.1.tar.gz new file mode 100644 index 0000000..c132642 Binary files /dev/null and b/dist/django-exam-0.1.tar.gz differ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..b69cbbb --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +import os +from setuptools import setup + +README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-exam', + author='Prabhu Ramachandran', + author_email='prabhu.ramachandran@gmail.com', + version='0.1', + packages=['testapp.exam'], + include_package_data=True, + license='BSD License', + entry_points = { + 'console_scripts': [ + 'code_server = exam.code_server:main', + ], + }, + description='A django app to conduct online test.', + long_description=README, + install_requires=[ + 'django', + 'django-taggit', + 'django-taggit-autocomplete-modified', + ], + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'Intended Audience :: Education', + 'Intended Audience :: End Users/Desktop', + 'License :: OSI Approved :: BSD License', + 'Natural Language :: English', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + ], +) diff --git a/testapp/LICENSE b/testapp/LICENSE deleted file mode 100644 index 8b49593..0000000 --- a/testapp/LICENSE +++ /dev/null @@ -1,3 +0,0 @@ -This is distributed under the terms of the BSD license. - -Copyright (c) 2011 Prabhu Ramachandran and FOSSEE (fossee.in) diff --git a/testapp/MANIFEST.in b/testapp/MANIFEST.in deleted file mode 100644 index 2c50f50..0000000 --- a/testapp/MANIFEST.in +++ /dev/null @@ -1,7 +0,0 @@ -include LICENSE -include README.rst -recursive-include exam/static * -recursive-include exam/templates * -recursive-include exam/management * -recursive-include exam/output * -recursive-include exam/fixtures * diff --git a/testapp/dist/django-exam-0.1.tar.gz b/testapp/dist/django-exam-0.1.tar.gz deleted file mode 100644 index 442f4f2..0000000 Binary files a/testapp/dist/django-exam-0.1.tar.gz and /dev/null differ diff --git a/testapp/setup.py b/testapp/setup.py deleted file mode 100644 index 233caeb..0000000 --- a/testapp/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -import os -from setuptools import setup - -README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-exam', - author='Prabhu Ramachandran', - author_email='prabhu.ramachandran@gmail.com', - version='0.1', - packages=['exam'], - include_package_data=True, - license='BSD License', - entry_points = { - 'console_scripts': [ - 'code_server = exam.code_server:main', - ], - }, - description='A django app to conduct online test.', - long_description=README, - install_requires=[ - 'django', - 'django-taggit', - 'django-taggit-autocomplete-modified', - ], - classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Web Environment', - 'Framework :: Django', - 'Intended Audience :: Developers', - 'Intended Audience :: Education', - 'Intended Audience :: End Users/Desktop', - 'License :: OSI Approved :: BSD License', - 'Natural Language :: English', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - ], -) -- cgit