Skip to content

Commit c5844e7

Browse files
committed
Updating makefile and v0.1.3
1 parent 45b91da commit c5844e7

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ VIRTUAL_ENV_DIR?=venv_test
66
install: $(VIRTUAL_ENV_DIR)
77
$(VIRTUAL_ENV_DIR):
88
$(PYTHON_VERSION) -m venv $(VIRTUAL_ENV_DIR)
9-
$(VIRTUAL_ENV_DIR)/bin/python setup.py install
9+
$(VIRTUAL_ENV_DIR)/bin/$(PYTHON_VERSION) setup.py install
1010

1111
release: $(VIRTUAL_ENV_DIR)
1212
rm -rf dist
13-
$(PYTHON_VERSION) setup.py sdist
13+
$(VIRTUAL_ENV_DIR)/bin/$(PYTHON_VERSION) setup.py sdist
1414
# Assuming you have twine already in the sdist
15-
pip install twine
16-
twine upload dist/*
15+
$(VIRTUAL_ENV_DIR)/bin/pip install twine
16+
$(VIRTUAL_ENV_DIR)/bin/twine upload dist/*
1717

1818
# typically, phony make targets are imperatives.
1919
lint: install

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
"""
1212
)
1313

14+
_version = "0.1.3"
15+
1416
setup(
1517
name="navabilitysdk",
16-
version="0.1.2",
18+
version=_version,
1719
license="Apache-2.0",
1820
author="NavAbility",
1921
author_email="[email protected]",
@@ -22,7 +24,7 @@
2224
packages=find_packages("src", exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
2325
# entry_points={"console_scripts": ["navability = navability.main:cli"]},
2426
python_requires=">=3.8",
25-
download_url="https://github.com/NavAbility/NavAbilitySDK.py/archive/refs/tags/v0.1.2.tar.gz", # noqa: E501, B950
27+
download_url=f"https://github.com/NavAbility/NavAbilitySDK.py/archive/refs/tags/v{_version}.tar.gz", # noqa: E501, B950
2628
long_description="""NavAbility SDK: Access NavAbility Cloud factor graph features from Python.
2729
Note that this SDK and the related API are still in development. Please let us know if you have any issues at [email protected].""",
2830
install_requires=[

0 commit comments

Comments
 (0)