forked from timbroder/django-admin-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (27 loc) · 844 Bytes
/
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
33
import distribute_setup
distribute_setup.use_setuptools()
# disables creation of .DS_Store files inside tarballs on Mac OS X
import os
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
os.environ['COPYFILE_DISABLE'] = 'true'
def setup():
from setuptools import setup, find_packages
return setup(
name = "django-admin-preview",
version = "0.1.3",
packages = find_packages(),
setup_requires = [ "setuptools_git >= 0.4.2", ],
install_requires = open('requirements.txt'),
entry_points = {
'setuptools.file_finders' : [
'git = setuptools_git:gitlsfiles',
]
},
include_package_data = True,
zip_safe = False,
# metadata for upload to PyPI
description = "Inline preview in the admin list view",
url = "https://github.com/broderboy/django-admin-preview",
)
if(__name__ == '__main__'):
setup()