Use DevStack's setup_*() functions for Python packages
These functions do a number of things, specifically they handles the DevStack USE_PYTHON3 switch transparently so we can run both major Python versions. The new setup.cfg files are only used by setup_*() right now, making the switch to use pbr is beyond what I want to do here. Change-Id: Ib9753119235b1ce23030a2b3de0169ed6f8819e0 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
7
fm-common/sources/requirements.txt
Normal file
7
fm-common/sources/requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
|
||||
PyYAML>=3.10.0 # MIT
|
||||
SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT
|
||||
25
fm-common/sources/setup.cfg
Normal file
25
fm-common/sources/setup.cfg
Normal file
@@ -0,0 +1,25 @@
|
||||
[metadata]
|
||||
name = fm_core
|
||||
summary = Fault Management common components
|
||||
author = StarlingX
|
||||
author-email = starlingx-discuss@lists.starlingx.io
|
||||
home-page = https://opendev.org/starlingx/fault
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
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.5
|
||||
Programming Language :: Python :: 3.6
|
||||
|
||||
[files]
|
||||
packages =
|
||||
fm_core
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
Reference in New Issue
Block a user