mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
move requirements files into requirements dir
This commit is contained in:
parent
be85f50178
commit
ad33589fac
18 changed files with 33 additions and 33 deletions
|
@ -16,8 +16,8 @@ before_install:
|
||||||
- pip install git+https://github.com/saltstack/salt-testing.git#egg=SaltTesting
|
- pip install git+https://github.com/saltstack/salt-testing.git#egg=SaltTesting
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install -r zeromq-requirements.txt -r cloud-requirements.txt
|
- pip install -r requirements/zeromq.txt -r requirements/cloud.txt
|
||||||
- pip install --allow-all-external -r opt_requirements.txt
|
- pip install --allow-all-external -r requirements/opt.txt
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- "/home/travis/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pylint --rcfile=.testing.pylintrc salt/ && echo 'Finished Pylint Check Cleanly' || echo 'Finished Pylint Check With Errors'"
|
- "/home/travis/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pylint --rcfile=.testing.pylintrc salt/ && echo 'Finished Pylint Check Cleanly' || echo 'Finished Pylint Check With Errors'"
|
||||||
|
|
|
@ -163,7 +163,7 @@ ZeroMQ Transport:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -r zeromq-requirements.txt
|
pip install -r requirements/zeromq.txt
|
||||||
pip install psutil
|
pip install psutil
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@ RAET Transport:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -r raet-requirements.txt
|
pip install -r requirements/raet.txt
|
||||||
pip install psutil
|
pip install psutil
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
|
@ -279,9 +279,9 @@ If it is less than 2047, you should increase it with::
|
||||||
Running the tests
|
Running the tests
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
For running tests, you'll also need to install ``dev_requirements_python2x.txt``::
|
For running tests, you'll also need to install ``requirements/dev_python2x.txt``::
|
||||||
|
|
||||||
pip install -r dev_requirements_python2x.txt
|
pip install -r requirements/dev_python2x.txt
|
||||||
|
|
||||||
Finally you use setup.py to run the tests with the following command::
|
Finally you use setup.py to run the tests with the following command::
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,10 @@ include AUTHORS
|
||||||
include HACKING.rst
|
include HACKING.rst
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
include _requirements.txt
|
include requirements/base.txt
|
||||||
include raet-requirements.txt
|
include requirements/raet.txt
|
||||||
include cloud-requirements.txt
|
include requirements/cloud.txt
|
||||||
include zeromq-requirements.txt
|
include requirements/zeromq.txt
|
||||||
include tests/*.py
|
include tests/*.py
|
||||||
recursive-include tests *
|
recursive-include tests *
|
||||||
include tests/integration/modules/files/*
|
include tests/integration/modules/files/*
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
-r dev_requirements_python27.txt
|
|
||||||
|
|
||||||
unittest2
|
|
|
@ -19970,8 +19970,8 @@ the lines below, depending on the relevant Python version:
|
||||||
.sp
|
.sp
|
||||||
.nf
|
.nf
|
||||||
.ft C
|
.ft C
|
||||||
pip install \-r dev_requirements_python26.txt
|
pip install \-r requirements/dev_python26.txt
|
||||||
pip install \-r dev_requirements_python27.txt
|
pip install \-r requirements/dev_python27.txt
|
||||||
.ft P
|
.ft P
|
||||||
.fi
|
.fi
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
|
|
|
@ -8,8 +8,8 @@ the lines below, depending on the relevant Python version:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -r dev_requirements_python26.txt
|
pip install -r requirements/dev_python26.txt
|
||||||
pip install -r dev_requirements_python27.txt
|
pip install -r requirements/dev_python27.txt
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
-r ../../../raet-requirements.txt
|
-r ../../../requirements/raet.txt
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
GitPython==0.3.2.RC1
|
GitPython==0.3.2.RC1
|
||||||
halite
|
halite
|
||||||
-r ../../../opt_requirements.txt
|
-r ../../../requirements/opt.txt
|
||||||
-r ../../../cloud-requirements.txt
|
-r ../../../requirements/cloud.txt
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Need to set a specific version of pyzmq, so can't use the main project's requirements file... have to copy it in and modify...
|
# Need to set a specific version of pyzmq, so can't use the main project's requirements file... have to copy it in and modify...
|
||||||
#-r ../../../zeromq-requirements.txt
|
#-r ../../../requirements/zeromq.txt
|
||||||
-r ../../../_requirements.txt
|
-r ../../../requirements/base.txt
|
||||||
M2Crypto
|
M2Crypto
|
||||||
pycrypto
|
pycrypto
|
||||||
pyzmq == 13.1.0
|
pyzmq == 13.1.0
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
-r _requirements.txt
|
|
||||||
|
|
||||||
libnacl
|
|
||||||
ioflo
|
|
||||||
raet
|
|
3
requirements/dev_python26.txt
Normal file
3
requirements/dev_python26.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
-r dev_python27.txt
|
||||||
|
|
||||||
|
unittest2
|
|
@ -1,4 +1,4 @@
|
||||||
-r _requirements.txt
|
-r base.txt
|
||||||
-e git+https://github.com/saltstack/salt-testing.git#egg=SaltTesting
|
-e git+https://github.com/saltstack/salt-testing.git#egg=SaltTesting
|
||||||
|
|
||||||
mock
|
mock
|
5
requirements/raet.txt
Normal file
5
requirements/raet.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
-r base.txt
|
||||||
|
|
||||||
|
libnacl
|
||||||
|
ioflo
|
||||||
|
raet
|
|
@ -1,4 +1,4 @@
|
||||||
-r _requirements.txt
|
-r base.txt
|
||||||
|
|
||||||
M2Crypto
|
M2Crypto
|
||||||
pycrypto
|
pycrypto
|
8
setup.py
8
setup.py
|
@ -102,10 +102,10 @@ except ImportError:
|
||||||
|
|
||||||
SALT_VERSION = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', 'version.py')
|
SALT_VERSION = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', 'version.py')
|
||||||
SALT_VERSION_HARDCODED = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', '_version.py')
|
SALT_VERSION_HARDCODED = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', '_version.py')
|
||||||
SALT_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), '_requirements.txt')
|
SALT_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements', 'base.txt')
|
||||||
SALT_ZEROMQ_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'zeromq-requirements.txt')
|
SALT_ZEROMQ_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements', 'zeromq.txt')
|
||||||
SALT_CLOUD_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'cloud-requirements.txt')
|
SALT_CLOUD_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements', 'cloud.txt')
|
||||||
SALT_RAET_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'raet-requirements.txt')
|
SALT_RAET_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements', 'raet.txt')
|
||||||
SALT_SYSPATHS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', 'syspaths.py')
|
SALT_SYSPATHS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'salt', 'syspaths.py')
|
||||||
|
|
||||||
# Salt SSH Packaging Detection
|
# Salt SSH Packaging Detection
|
||||||
|
|
Loading…
Add table
Reference in a new issue