Commit 5436083e authored by Dan Pascu's avatar Dan Pascu

Use the system path separator when building the list of packages

parent 559c1a47
......@@ -10,7 +10,7 @@ def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('blink/__init__.py').read()).group('version')
def find_packages(toplevel):
return [directory.replace('/', '.') for directory, subdirs, files in os.walk(toplevel) if '__init__.py' in files]
return [directory.replace(os.path.sep, '.') for directory, subdirs, files in os.walk(toplevel) if '__init__.py' in files]
setup(name = "blink",
version = get_version(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment