From 714458491d91baa88a9422a579595cac31bceb4f Mon Sep 17 00:00:00 2001 From: Ashish Mathew <54074687+mathewab@users.noreply.github.com> Date: Wed, 29 Jan 2025 20:44:16 -0800 Subject: [PATCH] fix tool.poetry section to build properly (#20) --- .github/workflows/python.yml | 2 +- .gitignore | 2 + pyproject.toml | 5 +- src/.openapi-generator/FILES | 266 --------------------------------- src/.openapi-generator/VERSION | 1 - tox.ini | 2 +- 6 files changed, 8 insertions(+), 270 deletions(-) delete mode 100644 src/.openapi-generator/FILES delete mode 100644 src/.openapi-generator/VERSION diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3e0010a..64685cc 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -3,7 +3,7 @@ # # ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: universal_ddi_python_client Python package +name: universal-ddi-python-client Python package on: [push, pull_request] diff --git a/.gitignore b/.gitignore index 833ccc4..b0507d0 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,5 @@ target/ # Goland .idea + +.openapi-generator/ diff --git a/pyproject.toml b/pyproject.toml index 87aca49..b410ba6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "universal_ddi_python_client" +name = "universal-ddi-python-client" version = "0.1.0" description = "Python Client for Infoblox Universal DDI APIs" authors = ["Infoblox"] @@ -7,6 +7,9 @@ license = "Apache-2.0" readme = "README.md" repository = "https://github.com/infobloxopen/universal-ddi-python-client" keywords = ["Infoblox", "Universal", "DDI", "OpenAPI-Generator"] +packages = [ + { include = "**", from = "src" }, +] [tool.poetry.dependencies] python = "^3.7" diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES deleted file mode 100644 index c9bd2f7..0000000 --- a/src/.openapi-generator/FILES +++ /dev/null @@ -1,266 +0,0 @@ -dns_config/README.md -dns_config/__init__.py -dns_config/api/__init__.py -dns_config/api/acl_api.py -dns_config/api/auth_nsg_api.py -dns_config/api/auth_zone_api.py -dns_config/api/cache_flush_api.py -dns_config/api/convert_domain_name_api.py -dns_config/api/convert_rname_api.py -dns_config/api/delegation_api.py -dns_config/api/forward_nsg_api.py -dns_config/api/forward_zone_api.py -dns_config/api/global_api.py -dns_config/api/host_api.py -dns_config/api/lbdn_api.py -dns_config/api/server_api.py -dns_config/api/view_api.py -dns_config/docs/ACL.md -dns_config/docs/ACLItem.md -dns_config/docs/AclApi.md -dns_config/docs/AuthNSG.md -dns_config/docs/AuthNsgApi.md -dns_config/docs/AuthZone.md -dns_config/docs/AuthZoneApi.md -dns_config/docs/AuthZoneConfig.md -dns_config/docs/AuthZoneExternalProvider.md -dns_config/docs/AuthZoneInheritance.md -dns_config/docs/BulkCopyError.md -dns_config/docs/BulkCopyResponse.md -dns_config/docs/BulkCopyView.md -dns_config/docs/CacheFlush.md -dns_config/docs/CacheFlushApi.md -dns_config/docs/ConvertDomainName.md -dns_config/docs/ConvertDomainNameApi.md -dns_config/docs/ConvertDomainNameResponse.md -dns_config/docs/ConvertRNameResponse.md -dns_config/docs/ConvertRnameApi.md -dns_config/docs/CopyAuthZone.md -dns_config/docs/CopyAuthZoneResponse.md -dns_config/docs/CopyForwardZone.md -dns_config/docs/CopyForwardZoneResponse.md -dns_config/docs/CopyResponse.md -dns_config/docs/CreateACLResponse.md -dns_config/docs/CreateAuthNSGResponse.md -dns_config/docs/CreateAuthZoneResponse.md -dns_config/docs/CreateDelegationResponse.md -dns_config/docs/CreateForwardNSGResponse.md -dns_config/docs/CreateForwardZoneResponse.md -dns_config/docs/CreateLBDNResponse.md -dns_config/docs/CreateServerResponse.md -dns_config/docs/CreateViewResponse.md -dns_config/docs/CustomRootNSBlock.md -dns_config/docs/DNSGlobal.md -dns_config/docs/DNSSECValidationBlock.md -dns_config/docs/DTCConfig.md -dns_config/docs/DTCPolicy.md -dns_config/docs/Delegation.md -dns_config/docs/DelegationApi.md -dns_config/docs/DelegationServer.md -dns_config/docs/DisplayView.md -dns_config/docs/ECSBlock.md -dns_config/docs/ECSZone.md -dns_config/docs/ExternalPrimary.md -dns_config/docs/ExternalSecondary.md -dns_config/docs/ForwardNSG.md -dns_config/docs/ForwardNsgApi.md -dns_config/docs/ForwardZone.md -dns_config/docs/ForwardZoneApi.md -dns_config/docs/ForwardZoneConfig.md -dns_config/docs/Forwarder.md -dns_config/docs/ForwardersBlock.md -dns_config/docs/GlobalApi.md -dns_config/docs/Host.md -dns_config/docs/HostApi.md -dns_config/docs/HostAssociatedServer.md -dns_config/docs/HostInheritance.md -dns_config/docs/Inheritance2AssignedHost.md -dns_config/docs/Inheritance2InheritedBool.md -dns_config/docs/Inheritance2InheritedString.md -dns_config/docs/Inheritance2InheritedUInt32.md -dns_config/docs/InheritedACLItems.md -dns_config/docs/InheritedCustomRootNSBlock.md -dns_config/docs/InheritedDNSSECValidationBlock.md -dns_config/docs/InheritedDtcConfig.md -dns_config/docs/InheritedECSBlock.md -dns_config/docs/InheritedForwardersBlock.md -dns_config/docs/InheritedKerberosKeys.md -dns_config/docs/InheritedSortListItems.md -dns_config/docs/InheritedZoneAuthority.md -dns_config/docs/InheritedZoneAuthorityMNameBlock.md -dns_config/docs/InternalSecondary.md -dns_config/docs/KerberosKey.md -dns_config/docs/LBDN.md -dns_config/docs/LbdnApi.md -dns_config/docs/ListACLResponse.md -dns_config/docs/ListAuthNSGResponse.md -dns_config/docs/ListAuthZoneResponse.md -dns_config/docs/ListDelegationResponse.md -dns_config/docs/ListForwardNSGResponse.md -dns_config/docs/ListForwardZoneResponse.md -dns_config/docs/ListHostResponse.md -dns_config/docs/ListLBDNResponse.md -dns_config/docs/ListServerResponse.md -dns_config/docs/ListViewResponse.md -dns_config/docs/ReadACLResponse.md -dns_config/docs/ReadAuthNSGResponse.md -dns_config/docs/ReadAuthZoneResponse.md -dns_config/docs/ReadDelegationResponse.md -dns_config/docs/ReadForwardNSGResponse.md -dns_config/docs/ReadForwardZoneResponse.md -dns_config/docs/ReadGlobalResponse.md -dns_config/docs/ReadHostResponse.md -dns_config/docs/ReadLBDNResponse.md -dns_config/docs/ReadServerResponse.md -dns_config/docs/ReadViewResponse.md -dns_config/docs/RootNS.md -dns_config/docs/Server.md -dns_config/docs/ServerApi.md -dns_config/docs/ServerInheritance.md -dns_config/docs/SortListItem.md -dns_config/docs/TSIGKey.md -dns_config/docs/TTLInheritance.md -dns_config/docs/TrustAnchor.md -dns_config/docs/UpdateACLResponse.md -dns_config/docs/UpdateAuthNSGResponse.md -dns_config/docs/UpdateAuthZoneResponse.md -dns_config/docs/UpdateDelegationResponse.md -dns_config/docs/UpdateForwardNSGResponse.md -dns_config/docs/UpdateForwardZoneResponse.md -dns_config/docs/UpdateGlobalResponse.md -dns_config/docs/UpdateHostResponse.md -dns_config/docs/UpdateLBDNResponse.md -dns_config/docs/UpdateServerResponse.md -dns_config/docs/UpdateViewResponse.md -dns_config/docs/View.md -dns_config/docs/ViewApi.md -dns_config/docs/ViewInheritance.md -dns_config/docs/Warning.md -dns_config/docs/ZoneAuthority.md -dns_config/docs/ZoneAuthorityMNameBlock.md -dns_config/models/__init__.py -dns_config/models/acl.py -dns_config/models/acl_item.py -dns_config/models/auth_nsg.py -dns_config/models/auth_zone.py -dns_config/models/auth_zone_config.py -dns_config/models/auth_zone_external_provider.py -dns_config/models/auth_zone_inheritance.py -dns_config/models/bulk_copy_error.py -dns_config/models/bulk_copy_response.py -dns_config/models/bulk_copy_view.py -dns_config/models/cache_flush.py -dns_config/models/convert_domain_name.py -dns_config/models/convert_domain_name_response.py -dns_config/models/convert_r_name_response.py -dns_config/models/copy_auth_zone.py -dns_config/models/copy_auth_zone_response.py -dns_config/models/copy_forward_zone.py -dns_config/models/copy_forward_zone_response.py -dns_config/models/copy_response.py -dns_config/models/create_acl_response.py -dns_config/models/create_auth_nsg_response.py -dns_config/models/create_auth_zone_response.py -dns_config/models/create_delegation_response.py -dns_config/models/create_forward_nsg_response.py -dns_config/models/create_forward_zone_response.py -dns_config/models/create_lbdn_response.py -dns_config/models/create_server_response.py -dns_config/models/create_view_response.py -dns_config/models/custom_root_ns_block.py -dns_config/models/delegation.py -dns_config/models/delegation_server.py -dns_config/models/display_view.py -dns_config/models/dns_global.py -dns_config/models/dnssec_validation_block.py -dns_config/models/dtc_config.py -dns_config/models/dtc_policy.py -dns_config/models/ecs_block.py -dns_config/models/ecs_zone.py -dns_config/models/external_primary.py -dns_config/models/external_secondary.py -dns_config/models/forward_nsg.py -dns_config/models/forward_zone.py -dns_config/models/forward_zone_config.py -dns_config/models/forwarder.py -dns_config/models/forwarders_block.py -dns_config/models/host.py -dns_config/models/host_associated_server.py -dns_config/models/host_inheritance.py -dns_config/models/inheritance2_assigned_host.py -dns_config/models/inheritance2_inherited_bool.py -dns_config/models/inheritance2_inherited_string.py -dns_config/models/inheritance2_inherited_u_int32.py -dns_config/models/inherited_acl_items.py -dns_config/models/inherited_custom_root_ns_block.py -dns_config/models/inherited_dnssec_validation_block.py -dns_config/models/inherited_dtc_config.py -dns_config/models/inherited_ecs_block.py -dns_config/models/inherited_forwarders_block.py -dns_config/models/inherited_kerberos_keys.py -dns_config/models/inherited_sort_list_items.py -dns_config/models/inherited_zone_authority.py -dns_config/models/inherited_zone_authority_m_name_block.py -dns_config/models/internal_secondary.py -dns_config/models/kerberos_key.py -dns_config/models/lbdn.py -dns_config/models/list_acl_response.py -dns_config/models/list_auth_nsg_response.py -dns_config/models/list_auth_zone_response.py -dns_config/models/list_delegation_response.py -dns_config/models/list_forward_nsg_response.py -dns_config/models/list_forward_zone_response.py -dns_config/models/list_host_response.py -dns_config/models/list_lbdn_response.py -dns_config/models/list_server_response.py -dns_config/models/list_view_response.py -dns_config/models/read_acl_response.py -dns_config/models/read_auth_nsg_response.py -dns_config/models/read_auth_zone_response.py -dns_config/models/read_delegation_response.py -dns_config/models/read_forward_nsg_response.py -dns_config/models/read_forward_zone_response.py -dns_config/models/read_global_response.py -dns_config/models/read_host_response.py -dns_config/models/read_lbdn_response.py -dns_config/models/read_server_response.py -dns_config/models/read_view_response.py -dns_config/models/root_ns.py -dns_config/models/server.py -dns_config/models/server_inheritance.py -dns_config/models/sort_list_item.py -dns_config/models/trust_anchor.py -dns_config/models/tsig_key.py -dns_config/models/ttl_inheritance.py -dns_config/models/update_acl_response.py -dns_config/models/update_auth_nsg_response.py -dns_config/models/update_auth_zone_response.py -dns_config/models/update_delegation_response.py -dns_config/models/update_forward_nsg_response.py -dns_config/models/update_forward_zone_response.py -dns_config/models/update_global_response.py -dns_config/models/update_host_response.py -dns_config/models/update_lbdn_response.py -dns_config/models/update_server_response.py -dns_config/models/update_view_response.py -dns_config/models/view.py -dns_config/models/view_inheritance.py -dns_config/models/warning.py -dns_config/models/zone_authority.py -dns_config/models/zone_authority_m_name_block.py -dns_config/py.typed -dns_config/test/__init__.py -dns_config/test/test_acl_api.py -dns_config/test/test_auth_nsg_api.py -dns_config/test/test_auth_zone_api.py -dns_config/test/test_cache_flush_api.py -dns_config/test/test_convert_domain_name_api.py -dns_config/test/test_convert_rname_api.py -dns_config/test/test_delegation_api.py -dns_config/test/test_forward_nsg_api.py -dns_config/test/test_forward_zone_api.py -dns_config/test/test_global_api.py -dns_config/test/test_host_api.py -dns_config/test/test_lbdn_api.py -dns_config/test/test_server_api.py -dns_config/test/test_view_api.py diff --git a/src/.openapi-generator/VERSION b/src/.openapi-generator/VERSION deleted file mode 100644 index 18bb418..0000000 --- a/src/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.5.0 diff --git a/tox.ini b/tox.ini index 3914368..280e40a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,4 +6,4 @@ deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= - pytest --cov=universal_ddi_python_client + pytest --cov=universal-ddi-python-client