sub packages in the setup.py
This commit is contained in:
parent
31adca7292
commit
26fa923139
1 changed files with 1 additions and 2 deletions
3
setup.py
3
setup.py
|
@ -8,7 +8,6 @@ import os
|
||||||
|
|
||||||
package_name = os.environ.get('PACKAGE_DST', 'tiramisu')
|
package_name = os.environ.get('PACKAGE_DST', 'tiramisu')
|
||||||
|
|
||||||
|
|
||||||
def fetch_version():
|
def fetch_version():
|
||||||
"""Get version from version.in"""
|
"""Get version from version.in"""
|
||||||
return open('VERSION', 'r').readline().strip()
|
return open('VERSION', 'r').readline().strip()
|
||||||
|
@ -22,7 +21,7 @@ def return_files(component):
|
||||||
paths = filter(isdir, [join(path, content)
|
paths = filter(isdir, [join(path, content)
|
||||||
for content in dir_content])
|
for content in dir_content])
|
||||||
lst = ['.'.join(path.split('/')[-3:]) for path in paths]
|
lst = ['.'.join(path.split('/')[-3:]) for path in paths]
|
||||||
lst = [package_name + '.' + '.'.join(path.split('/')[-2:]) for path in paths]
|
#lst = [package_name + '.' + '.'.join(path.split('/')[-2:]) for path in paths]
|
||||||
return lst
|
return lst
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue