diff --git a/Makefile b/Makefile index b2e5f8a..c03893b 100644 --- a/Makefile +++ b/Makefile @@ -30,17 +30,13 @@ pytest: pyparser pddlpy/pddl.py $(PYTHON) -m pddlpy.test pydist: pytest - $(PYTHON) setup.py sdist bdist_wheel + $(PYTHON) setup.py bdist_wheel pypitest: pydist - echo hello - # $(PYTHON) setup.py register -r pypitest && \ - # $(PYTHON) setup.py bdist_wheel upload -r pypitest + $(PYTHON) -m twine upload --repository testpypi dist/`ls -t dist | head -1` pypipublish: pydist - echo hello - # $(PYTHON) setup.py register -r pypi && \ - # $(PYTHON) setup.py bdist_wheel upload -r pypi + $(PYTHON) -m twine upload dist/`ls -t dist | head -1` pydemo: pytest $(PYTHON) demo.py 1 && \ diff --git a/setup.py b/setup.py index b44db1f..547fd4f 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='0.3.0', + version='0.3.2', description='Python PDDL parser', long_description=long_description, @@ -77,8 +77,8 @@ # requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires=[ - 'antlr4-python3-runtime>=4.9;python_version>="3"', - ], + 'antlr4-python3-runtime>=4.9.3', + ], # List additional groups of dependencies here (e.g. development dependencies). # You can install these using the following syntax, for example: