49 lines
1.0 KiB
Python
49 lines
1.0 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
|
||
|
from distutils.core import setup
|
||
|
try:
|
||
|
from setuptools import setup, find_packages
|
||
|
except:
|
||
|
from distutils.core import setup
|
||
|
|
||
|
from sqlor.version import __version__
|
||
|
|
||
|
version = __version__
|
||
|
name = "sqlor"
|
||
|
description = "sqlor"
|
||
|
author = "yumoqing"
|
||
|
email = "yumoqing@gmail.com"
|
||
|
|
||
|
packages=find_packages()
|
||
|
package_data = {}
|
||
|
required = []
|
||
|
with open('requirements.txt', 'r') as f:
|
||
|
ls = f.read()
|
||
|
required = ls.split('\n')
|
||
|
|
||
|
|
||
|
with open("README.md", "r") as fh:
|
||
|
long_description = fh.read()
|
||
|
|
||
|
setup(
|
||
|
name=name,
|
||
|
description = description,
|
||
|
version=version,
|
||
|
author=author,
|
||
|
author_email=email,
|
||
|
install_requires=required,
|
||
|
packages=packages,
|
||
|
package_data=package_data,
|
||
|
keywords = [
|
||
|
],
|
||
|
url="https://github.com/yumoqing/sqlor",
|
||
|
long_description=long_description,
|
||
|
long_description_content_type="text/markdown",
|
||
|
classifiers = [
|
||
|
'Operating System :: OS Independent',
|
||
|
'Programming Language :: Python :: 3',
|
||
|
'License :: OSI Approved :: MIT License',
|
||
|
],
|
||
|
)
|