From 42703536a5179865234f017a5e9dac6b46e07c11 Mon Sep 17 00:00:00 2001 From: k-tamura Date: Thu, 10 May 2018 13:59:23 +0900 Subject: [PATCH] Add setup script --- MANIFEST.in | 7 +++++++ README.rst | 28 +++++++++++++++++++++++++++ db.sqlite3 | Bin 50176 -> 50176 bytes easybuggy/__init__.py | 0 setup.py | 44 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 79 insertions(+) create mode 100644 MANIFEST.in create mode 100644 README.rst create mode 100644 easybuggy/__init__.py create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..bacf296 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE +include README.rst +include requirements.txt +recursive-include docs * +recursive-include locale * +recursive-include static * +recursive-include templates * diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..44d1059 --- /dev/null +++ b/README.rst @@ -0,0 +1,28 @@ +EasyBuggy Django +================ + +EasyBuggy clone built on Django 2.0. +`EasyBuggy `__ is a broken web +application in order to understand behavior of bugs and vulnerabilities, +for example, `memory leak, deadlock, infinite loop, SQL injection and so +on `__. + +Under Constructing! + +:clock4: Quick Start +-------------------- + +:: + + $ python manage.py runserver + +Access to + +:: + + http://localhost:8000 + +To stop: +^^^^^^^^ + +Use CTRL+C diff --git a/db.sqlite3 b/db.sqlite3 index bf4e06d64d5bf0427524c4e5a1c80b578cf62f20..3336442709bdff33006247784bed701db95fdef9 100644 GIT binary patch delta 110 zcmV-!0FnQIhy#F#1CSd5uaO)>0k5%OUN00iEio`4Ff=+fI65&jE;uOV delta 106 zcmV-w0G0oMhy#F#1CSd5rjZ;&0j9BFUN00hEiyJBFgQ9jI65*jE;chYI5jo1(l1C5 zv4QUbvk5~GO#%L~fxiN?*^($N69UWt1pzn!1A_uj0n!5o0XP7bv4JE3vvR?d0R#X5 M06LL@Hj@U!`piQh_5c6? diff --git a/easybuggy/__init__.py b/easybuggy/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..4447ff4 --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +import os +from setuptools import find_packages, setup + + +def _load_requires_from_file(filepath): + return [pkg_name.rstrip('\r\n') for pkg_name in open(filepath).readlines()] + + +def _install_requires(): + return _load_requires_from_file('requirements.txt') + + +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: + README = readme.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-easybuggy', + version='0.1', + packages=find_packages(), + install_requires=_install_requires(), + include_package_data=True, + license='MIT License', + description='EasyBuggy clone built on Django 2.0.', + long_description=README, + url='https://github.com/k-tamura/easybuggy4django', + author='Your Name', + author_email='ktamura.biz.80@gmail.com', + classifiers=[ + 'Environment :: Web Environment', + 'Framework :: Django', + 'Framework :: Django :: X.Y', # replace "X.Y" as appropriate + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', # example license + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + ], +)