-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (30 loc) · 1013 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
34
35
36
37
#!/usr/bin/env python
import os
from django_imgur import version
from setuptools import setup
def get_packages():
# setuptools can't do the job :(
packages = []
for root, dirnames, filenames in os.walk('django_imgur'):
if '__init__.py' in filenames:
packages.append(".".join(os.path.split(root)).strip("."))
return packages
requires = ['imgurpython']
setup(
name='django-imgur',
version=version,
description='A Django App that contains a Django '
'Storage which uses Imgur.'
'Inspired, based, and forked from django-dropbox',
author=u'[email protected]',
url='https://github.com/leofiore/django-imgur',
packages=get_packages(),
install_requires=requires,
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)