sqlor/setup.py

49 lines
1.0 KiB
Python
Raw Normal View History

2019-06-03 18:07:21 +08:00
# -*- coding: utf-8 -*-
from distutils.core import setup
2022-06-22 16:14:41 +08:00
try:
from setuptools import setup, find_packages
except:
from distutils.core import setup
2019-06-03 18:07:21 +08:00
2022-06-22 16:14:41 +08:00
from sqlor.version import __version__
2019-06-03 18:07:21 +08:00
2022-06-22 16:14:41 +08:00
version = __version__
2019-07-29 10:03:28 +08:00
name = "sqlor"
2019-06-03 18:07:21 +08:00
description = "sqlor"
author = "yumoqing"
email = "yumoqing@gmail.com"
packages=find_packages()
package_data = {}
2024-01-14 11:10:12 +08:00
required = []
with open('requirements.txt', 'r') as f:
ls = f.read()
required = ls.split('\n')
2019-06-03 18:07:21 +08:00
2019-07-29 10:03:28 +08:00
with open("README.md", "r") as fh:
long_description = fh.read()
2019-06-03 18:07:21 +08:00
setup(
2019-07-29 10:03:28 +08:00
name=name,
description = description,
2019-06-03 18:07:21 +08:00
version=version,
author=author,
author_email=email,
2024-01-14 11:10:12 +08:00
install_requires=required,
2019-06-03 18:07:21 +08:00
packages=packages,
package_data=package_data,
keywords = [
],
2019-07-29 10:03:28 +08:00
url="https://github.com/yumoqing/sqlor",
long_description=long_description,
long_description_content_type="text/markdown",
2019-06-03 18:07:21 +08:00
classifiers = [
'Operating System :: OS Independent',
2019-07-29 10:03:28 +08:00
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
2019-06-03 18:07:21 +08:00
],
)