|
@@ -4,22 +4,23 @@ __author__ = 'marcos.medeiros'
|
|
"""
|
|
"""
|
|
|
|
|
|
# Always prefer setuptools over distutils
|
|
# Always prefer setuptools over distutils
|
|
-from setuptools import setup, find_packages
|
|
|
|
|
|
+from setuptools import setup # find_packages
|
|
# To use a consistent encoding
|
|
# To use a consistent encoding
|
|
from codecs import open
|
|
from codecs import open
|
|
import os
|
|
import os
|
|
from os import path
|
|
from os import path
|
|
|
|
|
|
|
|
+
|
|
def _recursive_find(root, p):
|
|
def _recursive_find(root, p):
|
|
full_p = path.join(root, p)
|
|
full_p = path.join(root, p)
|
|
- for f in os.listdir(full_p):
|
|
|
|
- full_f = path.join(full_p, f)
|
|
|
|
- val_f = path.join(p, f)
|
|
|
|
|
|
+ for fl in os.listdir(full_p):
|
|
|
|
+ full_f = path.join(full_p, fl)
|
|
|
|
+ val_f = path.join(p, fl)
|
|
if path.isdir(full_f):
|
|
if path.isdir(full_f):
|
|
for ff in _recursive_find(root, val_f):
|
|
for ff in _recursive_find(root, val_f):
|
|
yield ff
|
|
yield ff
|
|
else:
|
|
else:
|
|
- yield val_f
|
|
|
|
|
|
+ yield val_f
|
|
|
|
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
here = path.abspath(path.dirname(__file__))
|
|
@@ -81,7 +82,7 @@ setup(
|
|
# your project is installed. For an analysis of "install_requires" vs pip's
|
|
# your project is installed. For an analysis of "install_requires" vs pip's
|
|
# requirements files see:
|
|
# requirements files see:
|
|
# https://packaging.python.org/en/latest/requirements.html
|
|
# https://packaging.python.org/en/latest/requirements.html
|
|
- install_requires=['django>=1.8', 'django-datetime-widget>=0.9', 'django-migration-fixture>=0.5', 'six'],
|
|
|
|
|
|
+ install_requires=['django==1.8', 'django-datetime-widget>=0.9', 'django-migration-fixture>=0.5', 'six'],
|
|
|
|
|
|
# List additional groups of dependencies here (e.g. development
|
|
# List additional groups of dependencies here (e.g. development
|
|
# dependencies). You can install these using the following syntax,
|
|
# dependencies). You can install these using the following syntax,
|