Skip to content

Commit

Permalink
Fix GH Actions bug where unable to import pip
Browse files Browse the repository at this point in the history
  • Loading branch information
fakerybakery authored Feb 29, 2024
1 parent b633f24 commit af39760
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
from pip.req import parse_requirements


cwd = os.path.dirname(os.path.abspath(__file__))
install_reqs = parse_requirements('requirements.txt')
reqs = [str(ir.req) for ir in install_reqs]

with open('requirements.txt') as f:
reqs = f.read().splitlines()
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
Expand Down

0 comments on commit af39760

Please sign in to comment.