add file_list to setup.py

This commit is contained in:
Micah Lee 2014-06-20 00:03:30 -04:00
parent 29a269253a
commit 9d82574465

View File

@ -9,6 +9,13 @@ try:
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
def file_list(path):
files = []
for filename in os.listdir(path):
if os.path.isfile(path+'/'+filename):
files.append(path+'/'+filename)
return files
version = open('version').read().strip() version = open('version').read().strip()
args = {} args = {}