-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #458 from mshriver/move-to-hatch
Migrate to hatch
- Loading branch information
Showing
6 changed files
with
98 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,16 @@ jobs: | |
sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev | ||
# Uninstall pycurl - its likely not installed, but in case the ubuntu-latest packages change | ||
# then compile and install it with PYCURL_SSL_LIBRARY set to openssl | ||
pip install -U pip | ||
pip install -U pip wheel | ||
pip uninstall -y pycurl | ||
pip install --compile --no-cache-dir pycurl | ||
pip install -Ur requirements-test.txt --upgrade-strategy eager | ||
pip install -U -e .[test] | ||
# coming soon | ||
#- name: Pre Commit Checks | ||
# uses: pre-commit/[email protected] | ||
# with: | ||
# extra_args: --show-diff-on-failure | ||
|
||
- name: Run Unit Tests | ||
run: py.test tests/ -v --cov wrapanapi | ||
|
||
- name: Analysis (git diff) | ||
if: failure() | ||
run: git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
[build-system] | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/wrapanapi", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = [ | ||
"/wrapanapi", | ||
] | ||
|
||
[project.urls] | ||
"Source" = "https://github.com/RedHatQE/wrapanapi" | ||
|
||
[project] | ||
name = "wrapanapi" | ||
dynamic = ["version"] | ||
readme = "README.rst" | ||
license-files = { paths = ["LICENSE"] } | ||
authors = [ | ||
{ name = "Peter Savage" }, | ||
] | ||
maintainers = [ | ||
{ name = "Jitendra Yejare" }, | ||
{ name = "Mike Shriver" }, | ||
] | ||
keywords = [ | ||
"distutils", | ||
"hatch", | ||
"hyperscaler", | ||
"api", | ||
"cloud", | ||
] | ||
dependencies = [ | ||
"azure-storage-common>=1.0", | ||
"azure<5.0.0", | ||
"boto", | ||
"boto3", | ||
"botocore", | ||
"cached_property", | ||
"dateparser", | ||
"fauxfactory", | ||
"google-api-python-client", | ||
"google-compute-engine", | ||
"inflection", | ||
"lxml", | ||
"miq-version", | ||
"oauth2client", | ||
"openshift==0.3.4", | ||
"ovirt-engine-sdk-python~=4.3", | ||
"packaging", | ||
"py3winrm==0.0.1", | ||
"python-cinderclient", | ||
"python-glanceclient", | ||
"python-heatclient", | ||
"python-ironicclient", | ||
"python-keystoneclient", | ||
"python-neutronclient==6.12.0", | ||
"python-novaclient==7.1.2", | ||
"python-swiftclient", | ||
"pyvcloud==19.1.2", | ||
"pyvmomi>=6.5.0.2017.5.post1", | ||
"redfish-client==0.1.0", | ||
"requests", | ||
"tzlocal", | ||
"vspk==5.3.2", | ||
"wait_for", | ||
"websocket_client", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"mock", | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-mock", | ||
"pytest-variables", | ||
"coveralls", | ||
] |
This file was deleted.
Oops, something went wrong.