mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-04 11:30:57 +08:00
add long_description
This commit is contained in:
@@ -249,4 +249,4 @@ provided by the bot. You will only need to do this once across all repos using o
|
||||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
||||
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
||||
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
18
setup.py
18
setup.py
@@ -9,10 +9,10 @@ import numpy
|
||||
from setuptools import find_packages, setup, Extension
|
||||
|
||||
# Package meta-data.
|
||||
NAME = "qlib"
|
||||
NAME = "pyqlib"
|
||||
DESCRIPTION = "A Quantitative-research Platform"
|
||||
REQUIRES_PYTHON = ">=3.5.0"
|
||||
VERSION = "0.5.0.dev7"
|
||||
VERSION = "0.5.0.dev6"
|
||||
|
||||
# Detect Cython
|
||||
try:
|
||||
@@ -61,7 +61,9 @@ NUMPY_INCLUDE = numpy.get_include()
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
long_description = "TODO: to be completed"
|
||||
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
|
||||
# Cython Extensions
|
||||
extensions = [
|
||||
@@ -83,8 +85,11 @@ extensions = [
|
||||
setup(
|
||||
name=NAME,
|
||||
version=VERSION,
|
||||
license = "MIT Licence",
|
||||
url = "https://github.com/microsoft/qlib",
|
||||
description=DESCRIPTION,
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
python_requires=REQUIRES_PYTHON,
|
||||
packages=find_packages(exclude=("tests",)),
|
||||
# if your package is a single module, use this instead of 'packages':
|
||||
@@ -102,9 +107,14 @@ setup(
|
||||
# Trove classifiers
|
||||
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
# 'License :: OSI Approved :: MIT License',
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
],
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user