sub packages in the setup.py
This commit is contained in:
parent
31adca7292
commit
26fa923139
3
setup.py
3
setup.py
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user