Commit 9ee13d75 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update setup.py

parent 703f7760
Pipeline #3944 failed with stage
in 0 seconds
Requirement already satisfied: PyQt5 in /home/yan/anaconda3/lib/python3.8/site-packages (5.15.10)
Requirement already satisfied: PyQt5-sip<13,>=12.13 in /home/yan/anaconda3/lib/python3.8/site-packages (from PyQt5) (12.13.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in /home/yan/anaconda3/lib/python3.8/site-packages (from PyQt5) (5.15.2)
This diff is collapsed.
import setuptools import setuptools
with open("README.md", "r") as fh: # 读取README.md作为长描述
long_description = fh.read() with open("README.md", "r") as f:
long_description = f.read()
setuptools.setup(
name='csst_ifs_sim', # 读取依赖列表requirements.txt
# Internal_Version = '0.7.02', # 忽略#开头或者版本号不明确指定的条目
version='1.0.0', with open("requirements.txt", "r") as f:
author='CSST Team', requirements = [
author_email='zhaojunyan@shao.ac.cn', req.strip()
description='The CSST - ifs - sim', # short description for req in f.readlines()
long_description=long_description, if not req.startswith("#") and req.__contains__("~=")
long_description_content_type="text/markdown", ]
url='https://csst-tb.bao.ac.cn/',
# project_urls={ setuptools.setup(
# 'Source': 'https://csst-tb.bao.ac.cn/code/csst-l1/ifs/csst_ifs_sim', name='csst_ifs_sim',
# }, # Internal_Version = '0.7.02',
packages=setuptools.find_packages(), version='1.0.0',
license='MIT', author='CSST Team',
classifiers=["Development Status :: 5 - Production/Stable", author_email='zhaojunyan@shao.ac.cn',
"Intended Audience :: Science/Research", description='The CSST - ifs - sim', # short description
"License :: OSI Approved :: MIT License", long_description=long_description,
"Operating System :: OS Independent", long_description_content_type="text/markdown",
"Programming Language :: Python :: 3.8", url='https://csst-tb.bao.ac.cn/',
"Topic :: Scientific/Engineering :: Physics", # project_urls={
"Topic :: Scientific/Engineering :: Astronomy"], # 'Source': 'https://csst-tb.bao.ac.cn/code/csst-l1/ifs/csst_ifs_sim',
package_dir={'csst_ifs_sim': 'csst_ifs_sim'}, # },
# include_package_data=True, packages=setuptools.find_packages(),
package_data={"": ["LICENSE", "README.md"], license='MIT',
"csst_ifs_sim": ["ifs_so/*", "ifs_data/*", "ifs_data/refs/*", "ifs_data/refs/orbit20160925/*"]}, classifiers=["Development Status :: 5 - Production/Stable",
# install_requires=['sphinx', "Intended Audience :: Science/Research",
# 'numpy', "License :: OSI Approved :: MIT License",
# 'scipy', 'matplotlib', "Operating System :: OS Independent",
# 'astropy', 'healpy', 'ccdproc', 'deepCR', 'photutils'], "Programming Language :: Python :: 3.8",
python_requires='>=3.8', "Topic :: Scientific/Engineering :: Physics",
) "Topic :: Scientific/Engineering :: Astronomy"],
package_dir={'csst_ifs_sim': 'csst_ifs_sim'},
# include_package_data=True,
package_data={"": ["LICENSE", "README.md"],
"csst_ifs_sim": ["ifs_so/*", "ifs_data/*", "ifs_data/refs/*", "ifs_data/refs/orbit20160925/*"]},
# install_requires=['sphinx',
# 'numpy',
# 'scipy', 'matplotlib',
# 'astropy', 'healpy', 'ccdproc', 'deepCR', 'photutils'],
python_requires='>=3.8',
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment