Skip to content

Commit 647ada6

Browse files
committed
More sane version management
1 parent c0c6aa4 commit 647ada6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/release_checklist.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release checklist
44
- [ ] Create a release branch.
55
- [ ] Set version to a stable number.
66
- [ ] Change current development version in `CHANGELOG.rst` to stable version.
7+
- [ ] Change the version in `__init__.py`
78
- [ ] Merge the release branch into `main`.
89
- [ ] Create a test pypi package from the main branch. ([Instructions.](
910
https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ def build_isa_l():
133133
],
134134
python_requires=">=3.6",
135135
setup_requires=["cython"],
136-
install_requires=["setuptools"],
137136
ext_modules=[
138137
IsalExtension("isal.isal_zlib", ["src/isal/isal_zlib.pyx"]),
139138
IsalExtension("isal._isal", ["src/isal/_isal.pyx"]),

src/isal/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@
1818
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
# SOFTWARE.
2020

21-
import pkg_resources
22-
2321
from ._isal import ISAL_MAJOR_VERSION, ISAL_MINOR_VERSION, \
2422
ISAL_PATCH_VERSION, ISAL_VERSION
2523

2624
__all__ = [
2725
"ISAL_MAJOR_VERSION",
2826
"ISAL_MINOR_VERSION",
2927
"ISAL_PATCH_VERSION",
30-
"ISAL_VERSION"
28+
"ISAL_VERSION",
29+
"__version__"
3130
]
3231

33-
__version__ = pkg_resources.get_distribution(__package__).version
32+
__version__ = "0.3.0-dev"

0 commit comments

Comments
 (0)