Skip to content

Commit

Permalink
add lupa to dependencies for RPM and egg
Browse files Browse the repository at this point in the history
  • Loading branch information
ericblau committed Jul 5, 2024
1 parent 0b96455 commit aca381d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packaging-sbin/build_ipf_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ls -al build/bdist.linux_x86_64/rpm/SOURCES/ipf-$VERSION.tar.gz
gsed -i 's/Name: %{name}/Name: %{name}\nObsoletes: ipf-xsede/' dist/ipf.spec
gsed -i 's/Requires: python-amqp >= 1.4/AutoReq: no\nRequires: python3-amqp >= 1.4, python3, python3-setuptools, /' dist/ipf.spec
gsed -i 's/python-dateutil/python3-dateutil/' dist/ipf.spec
gsed -i 's/python-lupa/python3-lupa/' dist/ipf.spec
#gsed -i 's/%define name ipf/%define name ipf-xsede/' dist/ipf.spec
gsed -i "s/%define release 1/%define release $RELEASE/" dist/ipf.spec
gsed -i "s/License: Apache/Patch0: ipf-rpm-only-mods.patch\nLicense: Apache/" dist/ipf.spec
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def _createSetupCfg():
[bdist_rpm]
requires = python-amqp >= 1.4
python-dateutil
python-lupa
""")
f.close()

Expand Down Expand Up @@ -86,7 +87,7 @@ def workflow_paths(directory):
author_email="[email protected]",
license="Apache",
packages=["ipf","ipf.glue2","ipf.configure","ipf.configure.test"],
install_requires=["amqp >=1.4","python-dateutil"],
install_requires=["amqp >=1.4","lupa","python-dateutil"],
entry_points={
"console_scripts": ["ipf_workflow=ipf.run_workflow:main",
"ipf_configure=ipf.configure.configure_workflows:configure"],
Expand Down

0 comments on commit aca381d

Please sign in to comment.