Skip to content

Commit

Permalink
Merge pull request ansible#4278 from elyezer/drop-awxkit-requirements…
Browse files Browse the repository at this point in the history
…-txt

[3.7.0] Keep awxkit's requirements on the setup.py
  • Loading branch information
ryanpetrello authored Apr 29, 2020
2 parents cd15a5c + e4921ab commit 99c7f2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions awxkit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
PyYAML
requests
.
11 changes: 4 additions & 7 deletions awxkit/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
import glob
import shutil
from setuptools import setup, find_packages, Command
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements

requirements = [str(r.req) for r in parse_requirements('requirements.txt', session=False)]


def get_version():
Expand Down Expand Up @@ -66,7 +60,10 @@ def run(self):
'clean': CleanCommand,
},
include_package_data=True,
install_requires=requirements,
install_requires=[
'PyYAML',
'requests',
],
python_requires=">=3.6",
extras_require={
'formatting': ['jq'],
Expand Down

0 comments on commit 99c7f2f

Please sign in to comment.