|
8 | 8 |
|
9 | 9 | import sys
|
10 | 10 |
|
11 |
| -import docker_registry.lib as lib |
| 11 | +# XXX as ugly as this looks, namespaces break terribly otherwise |
| 12 | +# import docker_registry.lib as lib |
| 13 | +execfile('./docker_registry/lib/__init__.py') |
12 | 14 |
|
13 | 15 | requirements_txt = open('./requirements.txt')
|
14 | 16 | requirements = [line for line in requirements_txt]
|
|
37 | 39 |
|
38 | 40 | package_data = {'docker_registry': ['../config/*']}
|
39 | 41 |
|
| 42 | + |
40 | 43 | setuptools.setup(
|
41 |
| - name=lib.__title__, |
42 |
| - version=lib.__version__, |
43 |
| - author=lib.__author__, |
44 |
| - author_email=lib.__email__, |
45 |
| - maintainer=lib.__maintainer__, |
46 |
| - maintainer_email=lib.__email__, |
47 |
| - url=lib.__url__, |
48 |
| - description=lib.__description__, |
49 |
| - download_url=lib.__download__, |
| 44 | + name=__title__, # noqa |
| 45 | + version=__version__, # noqa |
| 46 | + author=__author__, # noqa |
| 47 | + author_email=__email__, # noqa |
| 48 | + maintainer=__maintainer__, # noqa |
| 49 | + maintainer_email=__email__, # noqa |
| 50 | + url=__url__, # noqa |
| 51 | + description=__description__, # noqa |
| 52 | + download_url=__download__, # noqa |
50 | 53 | long_description=open('./README.md').read(),
|
51 | 54 | namespace_packages=namespaces,
|
52 | 55 | packages=packages,
|
|
0 commit comments