forked from znick/anytask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (22 loc) · 791 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
import distutils
import os
from setuptools import setup, find_packages
#from distutils.core import setup
def findall(dir = os.curdir):
"""Find all files under 'dir' and return the list of full filenames
(relative to 'dir').
"""
all_files = []
for base, dirs, files in os.walk(dir, followlinks=True):
if base==os.curdir or base.startswith(os.curdir+os.sep):
base = base[2:]
if base:
files = [os.path.join(base, f) for f in files]
all_files.extend(filter(os.path.isfile, files))
return all_files # noqa
distutils.filelist.findall = findall # fix findall bug in distutils.
setup(name='Anytask',
setup_requires = [ "setuptools_git >= 0.3" ],
packages=find_packages(),
include_package_data=True,
)