forked from andres-torres-marroquin/django-dropbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
25 lines (20 loc) · 769 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
#!/usr/bin/env python
import os
from django_dropbox import version
from setuptools import setup
def get_packages():
# setuptools can't do the job :(
packages = []
for root, dirnames, filenames in os.walk('django_dropbox'):
if '__init__.py' in filenames:
packages.append(".".join(os.path.split(root)).strip("."))
return packages
requires = ['dropbox==7.3.1']
setup(name='django-dropbox',
version=version,
description='A Django App that contains a Django Storage which uses Dropbox.',
author=u'Andres Torres Marroquin',
author_email='[email protected]',
url='https://github.com/andres-torres-marroquin/django-dropbox',
packages=get_packages(),
install_requires=requires,)