sub packages in the setup.py

This commit is contained in:
gwen 2019-01-28 17:28:14 +01:00
parent 31adca7292
commit 26fa923139
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import os
package_name = os.environ.get('PACKAGE_DST', 'tiramisu')
def fetch_version():
"""Get version from version.in"""
return open('VERSION', 'r').readline().strip()
@ -22,7 +21,7 @@ def return_files(component):
paths = filter(isdir, [join(path, content)
for content in dir_content])
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