mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Remove setup.py entirely
This commit is contained in:
2
Makefile
2
Makefile
@@ -269,7 +269,7 @@ api-lint:
|
|||||||
yamllint -s .
|
yamllint -s .
|
||||||
|
|
||||||
awx-link:
|
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
|
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
|
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
|
#!/bin/env python3
|
||||||
# because pip install -e is painfully slow. If anyone finds a better way to do this, I'll buy you a drink.
|
|
||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
from setuptools.command.egg_info import egg_info as _egg_info
|
from setuptools.command.egg_info import egg_info as _egg_info
|
||||||
@@ -16,5 +15,7 @@ class egg_info_dev(_egg_info):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
|
script_name = 'setup.py',
|
||||||
|
script_args = ['egg_info_dev'],
|
||||||
cmdclass={'egg_info_dev': egg_info_dev},
|
cmdclass={'egg_info_dev': egg_info_dev},
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user