ahserver/setup.py
2024-01-14 11:10:36 +08:00

54 lines
1.2 KiB
Python
Executable File

# -*- coding: utf-8 -*-
from distutils.core import setup
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
from ahserver.version import __version__
# 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 = __version__
name = "ahserver"
description = "ahserver"
author = "yumoqing"
email = "yumoqing@gmail.com"
required = []
with open('requirements.txt', 'r') as f:
ls = f.read()
required = ls.split('\n')
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=required,
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',
],
)