Skip to content

Commit b0f84e7

Browse files
committed
rename module to avoid conflicts when installed via pip
1 parent af0a2ba commit b0f84e7

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ this package allows to extract it from the underlying Git repository:
3030
Changes
3131
-------
3232

33+
1.0.3 - Unreleased
34+
++++++++++++++++++
35+
36+
- [bugfix] rename module to avoid import conflicts
37+
38+
3339
1.0.2 - 2015-04-14
3440
++++++++++++++++++
3541

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
'License :: OSI Approved :: MIT License',
1616
'Programming Language :: Python',
1717
],
18-
py_modules=['version'],
18+
py_modules=['setuptools_git_version'],
1919
install_requires=[
2020
'setuptools >= 8.0',
2121
],
2222
entry_points="""
2323
[distutils.setup_keywords]
24-
version_format = version:validate_version_format
24+
version_format = setuptools_git_version:validate_version_format
2525
""",
2626
)
File renamed without changes.

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from pytest import mark
2-
from version import format_version
2+
from setuptools_git_version import format_version
33

44

55
@mark.parametrize('git_describe, version', [

0 commit comments

Comments
 (0)