Skip to content

Commit

Permalink
Test hardcoding install_requires
Browse files Browse the repository at this point in the history
  • Loading branch information
byteface committed Dec 8, 2024
1 parent 375b609 commit 1a96151
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ python-dateutil==2.9.0.post0
requests~=2.32.3
urllib3~=2.2.3
html5lib~=1.1
cssselect~=1.2.0
cssselect~=1.2.0

# NOTE - currently need to hardcode these again in setup.py due to github workflow of cli test
# the isolated env doesnt seem to pick up the pip installed packages?
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,16 @@ def get_requirements(filename: str = "requirements.txt"):
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
],
install_requires=get_requirements(),
# install_requires=get_requirements(),
# NOTE - currently need to hardcode these for cli tests due to github task runner?
install_requires=[
"elementpath~=4.6.0",
"python-dateutil==2.9.0.post0",
"requests~=2.32.3",
"urllib3~=2.2.3",
"html5lib~=1.1",
"cssselect~=1.2.0",
],
packages=find_packages(),
include_package_data=True,
entry_points={
Expand Down

0 comments on commit 1a96151

Please sign in to comment.