diff --git a/Makefile b/Makefile index d154e82..2ff7fdc 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,9 @@ install: . .env/bin/activate && pip3 install -r requirements.txt test: - . .env/bin/activate && python3 -m pytest -vv -s \ No newline at end of file + . .env/bin/activate && python3 -m pytest -vv -s + +publish: test + rm -rf dist/* + . .env/bin/activate && python3 setup.py sdist bdist_wheel + . .env/bin/activate && python3 -m twine upload dist/* \ No newline at end of file diff --git a/publish.sh b/publish.sh deleted file mode 100755 index 410bd30..0000000 --- a/publish.sh +++ /dev/null @@ -1,3 +0,0 @@ -rm dist/* -python3 setup.py sdist bdist_wheel -python3 -m twine upload dist/* \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 19e1c9d..45065de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,6 @@ bip-utils==1.0.5 eth-keyfile==0.5.1 rlp==1.2.0 eth-abi==2.1.1 -voluptuous==0.12.0 \ No newline at end of file +voluptuous==0.12.0 +wheel +twine \ No newline at end of file diff --git a/setup.py b/setup.py index 39d62dd..f862542 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setuptools.setup( name="thor-devkit", - version="1.0.8", + version="1.0.9", author="laalaguer", author_email="laalaguer@gmail.com", description="SDK to interact with VeChain Thor public blockchain.", diff --git a/test.sh b/test.sh deleted file mode 100755 index a3ce4e6..0000000 --- a/test.sh +++ /dev/null @@ -1 +0,0 @@ -python3 -m pytest -vv -s