Mercurial > hgrepos > Python > libs > ConfigMix
comparison setup.py @ 5:dc058099a4cb
Renamed the project from "MixConfig" to "ConfigMix"
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Tue, 08 Mar 2016 20:11:17 +0100 |
| parents | f76d85ccc5b9 |
| children | b764fe49d9bb |
comparison
equal
deleted
inserted
replaced
| 4:f76d85ccc5b9 | 5:dc058099a4cb |
|---|---|
| 18 pkg_root = os.path.dirname(__file__) | 18 pkg_root = os.path.dirname(__file__) |
| 19 | 19 |
| 20 _version_re = re.compile(br"^\s*__version__\s*=\s*(\"|')(.*)\1\s*(#.*)?$", | 20 _version_re = re.compile(br"^\s*__version__\s*=\s*(\"|')(.*)\1\s*(#.*)?$", |
| 21 re.MULTILINE) | 21 re.MULTILINE) |
| 22 | 22 |
| 23 with open(os.path.join(pkg_root, "mixconfig", "__init__.py"), "rb") as vf: | 23 with open(os.path.join(pkg_root, "configmix", "__init__.py"), "rb") as vf: |
| 24 version = _version_re.search(vf.read()).group(2).decode("utf-8") | 24 version = _version_re.search(vf.read()).group(2).decode("utf-8") |
| 25 | 25 |
| 26 with open(os.path.join(pkg_root, "README"), "rt") as rf: | 26 with open(os.path.join(pkg_root, "README"), "rt") as rf: |
| 27 long_description = rf.read() | 27 long_description = rf.read() |
| 28 | 28 |
| 29 setup( | 29 setup( |
| 30 name="MixConfig", | 30 name="ConfigMix", |
| 31 version=version, | 31 version=version, |
| 32 author="Franz Glasner", | 32 author="Franz Glasner", |
| 33 license="BSD", | 33 license="BSD", |
| 34 url="https://pypi.dom66.de/simple/mixconfig/", | 34 url="https://pypi.dom66.de/simple/configmix/", |
| 35 description="Library for extended configuration files", | 35 description="Library for extended configuration files", |
| 36 long_description=long_description, | 36 long_description=long_description, |
| 37 packages=["mixconfig"], | 37 packages=["configmix"], |
| 38 include_package_data=False, | 38 include_package_data=False, |
| 39 zip_safe=True, | 39 zip_safe=True, |
| 40 platforms="any", | 40 platforms="any", |
| 41 classifiers=[ | 41 classifiers=[ |
| 42 "Development Status :: 5 - Production/Stable", | 42 "Development Status :: 5 - Production/Stable", |
