forked from pythonitalia/assopy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (35 loc) · 947 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
38
39
#!/usr/bin/env python
from distutils.core import setup
import os
import os.path
def recurse(path):
B = 'assopy'
output = []
for dirpath, dirnames, filenames in os.walk(os.path.join(B, path)):
for d in filter(lambda x: x[0] == '.', dirnames):
dirnames.remove(d)
for f in filenames:
output.append(os.path.join(dirpath, f)[len(B)+1:])
return output
setup(name='assopy',
version='0.1',
description='django assopy',
author='dvd',
author_email='dvd@develer.com',
packages=[
'assopy',
'assopy.clients',
'assopy.management',
'assopy.management.commands',
'assopy.migrations',
'assopy.templatetags',
'assopy.stripe',
],
package_data={
'assopy': sum(map(recurse, ('deps', 'locale', 'static', 'templates', 'fixtures')), []),
},
install_requires=[
'suds',
'stripe==1.19.1',
],
)