From 5eaf93a4c9205cdc02637fce9fff055664c8a1d3 Mon Sep 17 00:00:00 2001 From: jonathan lung Date: Tue, 1 Dec 2020 01:42:41 -0500 Subject: [PATCH] Updating for PyPi. --- .gitignore | 4 ++++ COPYING => LICENSE | 0 pyvhd.py => pyvhd/__init__.py | 0 setup.py | 22 ++++++++++++++++++++++ tests/.keep | 0 5 files changed, 26 insertions(+) create mode 100644 .gitignore rename COPYING => LICENSE (100%) rename pyvhd.py => pyvhd/__init__.py (100%) create mode 100644 setup.py create mode 100644 tests/.keep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77e4dbf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build +dist +*.egg-info +*.pyc diff --git a/COPYING b/LICENSE similarity index 100% rename from COPYING rename to LICENSE diff --git a/pyvhd.py b/pyvhd/__init__.py similarity index 100% rename from pyvhd.py rename to pyvhd/__init__.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f5c09d7 --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="pyvhd", + version="0.0.1", + author="Ian McLeod", + author_email="imcleod@redhat.com", + description="Pure python code to create dynamic VHD files for Xen/Xenserver imports", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/lungj/pyvhd", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.2', +) \ No newline at end of file diff --git a/tests/.keep b/tests/.keep new file mode 100644 index 0000000..e69de29