Add separate setup config for building pyshaker-agent
Change-Id: Iebc8804c662e2457f079e3bd9fe13106e6200450
This commit is contained in:
parent
477f0ef121
commit
301a5941e2
15
requirements-agent.txt
Normal file
15
requirements-agent.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# The order of packages is significant, because pip processes them in the order
|
||||||
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
|
pbr>=0.6,!=0.7,<1.0
|
||||||
|
|
||||||
|
oslo.concurrency>=1.4.1 # Apache-2.0
|
||||||
|
oslo.config>=1.6.0 # Apache-2.0
|
||||||
|
oslo.i18n>=1.3.0 # Apache-2.0
|
||||||
|
oslo.log>=0.4.0 # Apache-2.0
|
||||||
|
oslo.serialization>=1.2.0 # Apache-2.0
|
||||||
|
oslo.utils>=1.2.0 # Apache-2.0
|
||||||
|
psutil>=1.1.1,<2.0.0
|
||||||
|
PyYAML>=3.1.0
|
||||||
|
pyzmq>=14.3.1 # LGPL+BSD
|
27
setup-agent.cfg
Normal file
27
setup-agent.cfg
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
[metadata]
|
||||||
|
name = pyshaker-agent
|
||||||
|
summary = Shaker Agent
|
||||||
|
description-file =
|
||||||
|
README.rst
|
||||||
|
author = OpenStack
|
||||||
|
author-email = openstack-dev@lists.openstack.org
|
||||||
|
home-page = http://www.openstack.org/
|
||||||
|
classifier =
|
||||||
|
Environment :: OpenStack
|
||||||
|
Intended Audience :: Developers
|
||||||
|
Intended Audience :: Information Technology
|
||||||
|
License :: OSI Approved :: Apache Software License
|
||||||
|
Operating System :: POSIX :: Linux
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 2
|
||||||
|
Programming Language :: Python :: 2.7
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3.4
|
||||||
|
|
||||||
|
[files]
|
||||||
|
packages =
|
||||||
|
shaker
|
||||||
|
|
||||||
|
[entry_points]
|
||||||
|
console_scripts =
|
||||||
|
shaker-agent = shaker.agent.agent:main
|
18
tools/build_agent_pkg.sh
Executable file
18
tools/build_agent_pkg.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
TEMP_DIR="$(mktemp -d)"
|
||||||
|
cp -r shaker ${TEMP_DIR}/
|
||||||
|
cp requirements-agent.txt ${TEMP_DIR}/requirements.txt
|
||||||
|
cp setup-agent.cfg ${TEMP_DIR}/setup.cfg
|
||||||
|
cp setup.py ${TEMP_DIR}/
|
||||||
|
cp README.rst ${TEMP_DIR}/
|
||||||
|
cp LICENSE ${TEMP_DIR}/
|
||||||
|
|
||||||
|
export PBR_VERSION="$(git describe --exact-match)"
|
||||||
|
|
||||||
|
cd ${TEMP_DIR}
|
||||||
|
echo "Building pyshaker-agent version ${PBR_VERSION}"
|
||||||
|
python setup.py sdist upload
|
||||||
|
|
||||||
|
cd -
|
||||||
|
rm -rf ${TEMP_DIR}
|
Loading…
x
Reference in New Issue
Block a user