ahserver_g/setup.py

54 lines
1.2 KiB
Python
Raw Permalink Normal View History

2019-08-21 09:28:58 +08:00
# -*- coding: utf-8 -*-
from distutils.core import setup
2022-06-22 16:31:56 +08:00
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
2019-08-21 09:28:58 +08:00
2022-06-22 16:31:56 +08:00
from ahserver.version import __version__
2019-08-21 09:28:58 +08:00
# usage:
# python setup.py bdist_wininst generate a window executable file
# python setup.py bdist_egg generate a egg file
# Release information about eway
2022-06-22 16:31:56 +08:00
version = __version__
2019-08-21 09:28:58 +08:00
name = "ahserver"
description = "ahserver"
author = "yumoqing"
email = "yumoqing@gmail.com"
2024-01-14 11:10:36 +08:00
required = []
with open('requirements.txt', 'r') as f:
ls = f.read()
required = ls.split('\n')
2019-08-21 09:28:58 +08:00
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,
2024-01-14 11:10:36 +08:00
install_requires=required,
2019-08-21 09:28:58 +08:00
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',
],
)