Skip to content

Commit

Permalink
fix(Makefile): fix path to semantic-release
Browse files Browse the repository at this point in the history
Fix semantic-release path.
Change name of console entrypoint.
  • Loading branch information
Joona Oikarinen committed Sep 23, 2021
1 parent 9816e27 commit 64627f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ clean:

publish: install_dev
. $(VENV)/bin/activate
semantic-release --noop --verbosity=DEBUG publish -D version_variable=flaky_tests_detection/__init__.py:__version__
$(VENV_DIR)/bin/semantic-release --noop --verbosity=DEBUG publish -D version_variable=flaky_tests_detection/__init__.py:__version__
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def _read_long_description():
]
NAME = "flaky_tests_detection"
NAME_DASHED = NAME.replace("_", "-")
OLD_GIT_URL = "fliprate_actions" # Are we going to change repo name?

init_content: Dict[str, str] = {}
init_path = convert_path('flaky_tests_detection/__init__.py')
Expand All @@ -32,14 +31,14 @@ def _read_long_description():
long_description_content_type="text/markdown",
author="Eero Kauhanen, Matvey Pashkovskiy, Alexey Vyskubov",
author_email="", # warning: check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too
url=f"https://github.com/F-Secure/{OLD_GIT_URL}", # Are we going to change repo name?
url=f"https://github.com/F-Secure/{NAME_DASHED}",
license="Apache License 2.0",
platforms="any",
version=init_content["__version__"],
packages=find_packages(exclude=[f"{NAME}.tests", f"{NAME}.tests.*"]),
entry_points={
"console_scripts": [
"check_flakes=flaky_tests_detection.check_flakes:main", # What should be CLI name for entry point?
"flaky=flaky_tests_detection.check_flakes:main",
]
},
install_requires=["pandas", "junitparser", "seaborn", "matplotlib"],
Expand Down

0 comments on commit 64627f5

Please sign in to comment.