-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
32 lines (30 loc) · 1.05 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
#!/usr/bin/env python
import os
from setuptools import setup
import massmedia
try:
long_desc = open(os.path.join(os.path.dirname(__file__),'README')).read()
except (IOError, OSError):
long_desc = ''
try:
reqs = open(os.path.join(os.path.dirname(__file__),'requirements.txt')).read()
except (IOError, OSError):
reqs = ''
setup(
name = "django-massmedia",
version = massmedia.get_version(),
url = 'http://github.com/washingtontimes/django-massmedia',
author = 'Justin Quick',
author_email = '[email protected]',
description = 'Allows for site staff can upload and edit the media files through the site, and the filesystem is maintained in the background.',
long_description = long_desc,
packages = ['massmedia','massmedia.templatetags','massmedia.management','massmedia.management.commands'],
package_data={'massmedia': [
'templates/*.html',
'templates/*/*.html',
'templates/*/*/*.html',
'templates/*/*/*/*.html',
]},
include_package_data=True,
install_requires = reqs,
)