From 8b8334202c1bf143845da23db85503f2416ae7c6 Mon Sep 17 00:00:00 2001 From: bgArray <474037765@qq.com> Date: Wed, 1 Feb 2023 22:35:09 +0800 Subject: [PATCH] 2023/2/1 update pypi update --- {msctPkgver => Musicreater}/__init__.py | 0 {msctPkgver => Musicreater}/exceptions.py | 0 {msctPkgver => Musicreater}/instConstants.py | 0 {msctPkgver => Musicreater}/magicmain.py | 0 {msctPkgver => Musicreater}/main.py | 0 {msctPkgver => Musicreater}/utils.py | 0 setup.py | 34 ++++++++++++++++++++ upload.bat | 2 ++ 8 files changed, 36 insertions(+) rename {msctPkgver => Musicreater}/__init__.py (100%) rename {msctPkgver => Musicreater}/exceptions.py (100%) rename {msctPkgver => Musicreater}/instConstants.py (100%) rename {msctPkgver => Musicreater}/magicmain.py (100%) rename {msctPkgver => Musicreater}/main.py (100%) rename {msctPkgver => Musicreater}/utils.py (100%) create mode 100644 setup.py create mode 100644 upload.bat diff --git a/msctPkgver/__init__.py b/Musicreater/__init__.py similarity index 100% rename from msctPkgver/__init__.py rename to Musicreater/__init__.py diff --git a/msctPkgver/exceptions.py b/Musicreater/exceptions.py similarity index 100% rename from msctPkgver/exceptions.py rename to Musicreater/exceptions.py diff --git a/msctPkgver/instConstants.py b/Musicreater/instConstants.py similarity index 100% rename from msctPkgver/instConstants.py rename to Musicreater/instConstants.py diff --git a/msctPkgver/magicmain.py b/Musicreater/magicmain.py similarity index 100% rename from msctPkgver/magicmain.py rename to Musicreater/magicmain.py diff --git a/msctPkgver/main.py b/Musicreater/main.py similarity index 100% rename from msctPkgver/main.py rename to Musicreater/main.py diff --git a/msctPkgver/utils.py b/Musicreater/utils.py similarity index 100% rename from msctPkgver/utils.py rename to Musicreater/utils.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..33e1204 --- /dev/null +++ b/setup.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read().replace( + "./docs/", "https://github.com/TriM-Organization/Musicreater/blob/master/docs/" + ) + +setuptools.setup( + name="Musicreater", + version="0.2.3", + author="Eilles Wan, bgArray", + author_email="TriM-Organization@hotmail.com", + description="一款免费开源的 《我的世界》 mid音乐转换库。\n" + " A free open-source python library used to convert midi into Minecraft.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/TriM-Organization/Musicreater", + packages=setuptools.find_packages(), + classifiers=[ + "Intended Audience :: Developers", + "Natural Language :: Chinese (Simplified)", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + ], +) diff --git a/upload.bat b/upload.bat new file mode 100644 index 0000000..52b1d53 --- /dev/null +++ b/upload.bat @@ -0,0 +1,2 @@ +python setup.py sdist bdist_wheel +python -m twine upload dist/* \ No newline at end of file