From 50bd1fb49880bd1ec4de947a3c07dea456667a61 Mon Sep 17 00:00:00 2001 From: Mickael B Date: Tue, 22 Oct 2024 16:19:01 +0200 Subject: [PATCH] Integration de setuptools --- libvirt/enum.py => deevirt_schema/__init__.py | 0 {api => deevirt_schema/api}/cluster.py | 0 {api => deevirt_schema/api}/datacenter.py | 0 {api => deevirt_schema/api}/network.py | 0 {api => deevirt_schema/api}/storage.py | 0 {api => deevirt_schema/api}/vm.py | 0 .../libvirt}/dom/config.py | 0 deevirt_schema/libvirt/enum.py | 0 setup.py | 24 +++++++++++++++++++ 9 files changed, 24 insertions(+) rename libvirt/enum.py => deevirt_schema/__init__.py (100%) rename {api => deevirt_schema/api}/cluster.py (100%) rename {api => deevirt_schema/api}/datacenter.py (100%) rename {api => deevirt_schema/api}/network.py (100%) rename {api => deevirt_schema/api}/storage.py (100%) rename {api => deevirt_schema/api}/vm.py (100%) rename {libvirt => deevirt_schema/libvirt}/dom/config.py (100%) create mode 100644 deevirt_schema/libvirt/enum.py create mode 100644 setup.py diff --git a/libvirt/enum.py b/deevirt_schema/__init__.py similarity index 100% rename from libvirt/enum.py rename to deevirt_schema/__init__.py diff --git a/api/cluster.py b/deevirt_schema/api/cluster.py similarity index 100% rename from api/cluster.py rename to deevirt_schema/api/cluster.py diff --git a/api/datacenter.py b/deevirt_schema/api/datacenter.py similarity index 100% rename from api/datacenter.py rename to deevirt_schema/api/datacenter.py diff --git a/api/network.py b/deevirt_schema/api/network.py similarity index 100% rename from api/network.py rename to deevirt_schema/api/network.py diff --git a/api/storage.py b/deevirt_schema/api/storage.py similarity index 100% rename from api/storage.py rename to deevirt_schema/api/storage.py diff --git a/api/vm.py b/deevirt_schema/api/vm.py similarity index 100% rename from api/vm.py rename to deevirt_schema/api/vm.py diff --git a/libvirt/dom/config.py b/deevirt_schema/libvirt/dom/config.py similarity index 100% rename from libvirt/dom/config.py rename to deevirt_schema/libvirt/dom/config.py diff --git a/deevirt_schema/libvirt/enum.py b/deevirt_schema/libvirt/enum.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e519be2 --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +from setuptools import find_packages, setup + +setup( + name='deevirt_schema', + version='0.1.0', + description='Deevirt Schema', + url='https://git.celeonet.fr/Deevirt/deevirt_schema.git', + author='Celeonet', + author_email='noc@celeonet.fr', + license='Apache 2.0', + packages=packages=find_packages(), + install_require=[], + classifiers=[ + 'Development Status :: 1 - Planning', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: BSD License', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + ], +)