Remove setup.py entirely

This commit is contained in:
Shane McDonald
2022-06-27 14:15:32 -04:00
parent cbea36745e
commit 6a3f9690b0
2 changed files with 4 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ api-lint:
yamllint -s .
awx-link:
[ -d "/awx_devel/awx.egg-info" ] || $(PYTHON) /awx_devel/tools/scripts/setup.py egg_info_dev
[ -d "/awx_devel/awx.egg-info" ] || $(PYTHON) /awx_devel/tools/scripts/egg_info_dev
cp -f /tmp/awx.egg-link /var/lib/awx/venv/awx/lib/$(PYTHON)/site-packages/awx.egg-link
TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/sso/tests

View File

@@ -1,5 +1,4 @@
# This file only exists for the purposes of generating the development environment's awx.egg-info file
# because pip install -e is painfully slow. If anyone finds a better way to do this, I'll buy you a drink.
#!/bin/env python3
import setuptools
from setuptools.command.egg_info import egg_info as _egg_info
@@ -16,5 +15,7 @@ class egg_info_dev(_egg_info):
if __name__ == "__main__":
setuptools.setup(
script_name = 'setup.py',
script_args = ['egg_info_dev'],
cmdclass={'egg_info_dev': egg_info_dev},
)