-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
32 lines (28 loc) · 1.01 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') 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-json-404-middleware',
version='0.0.1',
license='MIT',
packages=['django_json_404_middleware'],
include_package_data=True,
description='Django middleware that returns 404s as JSON instead of html',
long_description=README,
url='https://github.com/ah450/django-json-404-middleware',
author='Ahmed Hisham Ismail',
author_email= 'ahm3d.hisham@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.10',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License'
],
)