mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Remove setup.py entirely
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
@@ -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},
|
||||
)
|
||||
Reference in New Issue
Block a user