From eeedf01598c9c6244e66cfbd5e7fb0159a42f773 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 21 Aug 2019 09:28:58 +0800 Subject: [PATCH] push --- build.sh | 4 ++++ setup.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 build.sh create mode 100755 setup.py diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..2607c2b --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +rm dist/*.whl +python setup.py install +python setup.py bdist_wheel +python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*.whl diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..3e0f566 --- /dev/null +++ b/setup.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- + +from distutils.core import setup +from setuptools import setup, find_packages + +# usage: +# python setup.py bdist_wininst generate a window executable file +# python setup.py bdist_egg generate a egg file +# Release information about eway + +version = "0.0.1" +name = "ahserver" +description = "ahserver" +author = "yumoqing" +email = "yumoqing@gmail.com" + +packages=find_packages() +package_data = {} + +with open("README.md", "r") as fh: + long_description = fh.read() + +setup( + name=name, + version=version, + # uncomment the following lines if you fill them out in release.py + description=description, + author=author, + author_email=email, + + install_requires=[ + ], + packages=packages, + package_data=package_data, + keywords = [ + ], + url="https://github.com/yumoqing/ahserver", + long_description=long_description, + long_description_content_type="text/markdown", + classifiers = [ + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 3', + 'License :: OSI Approved :: MIT License', + ], +)