这是我尝试卸载软件包时发生的情况:
(soothsayer_py3.8_env) jespinozlt2-osx:Prototype jespinoz$ pip uninstall soothsayer
Found existing installation: soothsayer 2020.5.1
Uninstalling soothsayer-2020.5.1:
Would remove:
/Users/jespinoz/anaconda3/envs/soothsayer_py3.8_env/bin/clairvoyance.py
/Users/jespinoz/anaconda3/envs/soothsayer_py3.8_env/bin/run_soothsayer.py
/Users/jespinoz/anaconda3/envs/soothsayer_py3.8_env/lib/python3.8/site-packages/
Would not remove (might be manually added):
/Users/jespinoz/anaconda3/envs/soothsayer_py3.8_env/lib/python3.8/site-packages/soothsayer-2020.5.1.dist-info/Icon
这是setup.py
:
import re, datetime
from setuptools import setup, find_packages
# Version
version = None
with open("./soothsayer/__init__.py", "r") as f:
for line in f.readlines():
line = line.strip()
if line.startswith("__version__"):
version = line.split("=")[-1].strip().strip('"')
assert version is not None, "Check version in soothsayer/__init__.py"
setup(name='soothsayer',
version=version,
description='High-level API for (bio-)informatics',
url='https://github.com/jolespin/soothsayer',
author='Josh L. Espinoza',
author_email='jespinoz@jcvi.org',
license='BSD-3',
packages=find_packages(include=("*", "./*")),
install_requires=[
"matplotlib >= 2.2.2",
"scipy >= 1.0",
"scikit-learn >= 0.20.2",
"numpy >= 1.13", #, < 1.14.0",
'pandas >= 1.0',
'networkx >= 2.0',
'ete3 >= 3.0',
'scikit-bio >= 0.5.1',
"biopython >= 1.5",
"xarray >= 0.10.3",
"tqdm >=4.19",
"openpyxl >= 2.5",
# "astropy >= 3.0",
"rpy2 >= 2.9.4, < 3.0",
"matplotlib_venn",
"palettable >= 3.0.0",
"adjustText",
"tzlocal",
"statsmodels >= 0.10.0", #https://github.com/statsmodels/statsmodels/issues/5899 May need to use this separately: pip install git+https://github.com/statsmodels/statsmodels.git@maintenance/0.10.x
"teneto",
"mmh3",
"soothsayer_utils >= 2020.4.30",
],
include_package_data=True,
scripts=['bin/clairvoyance.py', "bin/run_soothsayer.py"],
)
这是我的manifest.in
:
recursive-include soothsayer/io/data_type/ *.py
recursive-include soothsayer/feature_extraction/algorithms/ *.py
recursive-include soothsayer/r_wrappers/packages/ *.py
recursive-include soothsayer/tests/data/ *.py
recursive-include soothsayer/db/ *.pbz2
recursive-exclude releases/ *.tar.gz
global-exclude *.py[cod] __pycache__
这是我的pip
版本:
pip 20.1 from /Users/jespinoz/anaconda3/envs/soothsayer_py3.8_env/lib/python3.8/site-packages/pip (python 3.8)
我好像想不通?有谁知道可能导致此问题的原因是什么?