Skip to content

Commit

Permalink
Try to overcome non-local packages skipping by PyPi using local deps
Browse files Browse the repository at this point in the history
  • Loading branch information
elchupanebrej committed Dec 30, 2023
1 parent e097819 commit 5056181
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/cucumber/compatibility-kit.git
[submodule "messages"]
path = messages
url = https://github.com/cucumber/messages
url = https://github.com/elchupanebrej/messages
[submodule "ci-environment"]
path = ci-environment
url = https://github.com/cucumber/ci-environment.git
Expand Down
2 changes: 1 addition & 1 deletion messages
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ dependencies = [
"setuptools>=58",
"six>=1.16;python_version~='3.8'",
"cucumber-tag-expressions",
"typing-extensions;python_version<'3.11.0'",
"ci-environment@git+https://github.com/cucumber/ci-environment.git@main#subdirectory=python",
"messages@git+https://github.com/elchupanebrej/messages.git@main#subdirectory=python"
"typing-extensions;python_version<'3.11.0'"
]
description = "BDD for pytest"
license = {file = "LICENSE.rst"}
Expand Down
12 changes: 12 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from pathlib import Path

from setuptools import setup

root_path = Path(__file__).parent

setup(
install_requires=[
f"ci-environment@file://${root_path}/ci-environment/python",
f"messages@file://${root_path}/messages/python",
],
)

0 comments on commit 5056181

Please sign in to comment.