-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install not working #14
Comments
Are you interested in maintaining CAI in the future? If not, I can make a friendly fork and update so that cheers, |
I'm definitely still interested, just super swamped. Making you an admin on the repo so we don't need to fork |
Hi, missed the invite, could you resend it ? |
Resent! Here's the link if it doesn't show up: https://github.com/Benjamin-Lee/CodonAdaptationIndex/invitations |
PS I'm fine dropping support for Python 2. It's EOL and not needed at all. |
Hi, I added a new branch called sharp with some changes:
If you make me co-owner of the pypi repo, I can point the setuptools upload there instead of |
Scratch that. Since I got a new phone, my 2FA codes never transferred. I'll have to recharge the old phone to sign in but will get on it. Sorry! |
Are we good to PR |
I think so, it passes all the tests and I have successfully installed the resulting setuptools package in a fresh environment on my machine. |
Could you share your PyPI username? I tried to add |
This is me: https://pypi.org/user/bjorn |
For me, pip install is still not working for this repo, even though it looks like there was a merge intended to fix this. I was able to install BjornFJohansson's branch "sharp", however. I did not dig any deeper into the issue, but used the following to install CAI: |
Hi, I think 2to3 is the culprit here. I simply removed it in the sharp branch. |
@crockeraw did you solve your problem? You could install the sharp branch using pip/git. |
Hi @BjornFJohansson, I had been building a python package for analyzing codon usage. While building with readthedocs I get the following error
Please look into it |
Please use cai2: https://pypi.org/project/cai2/ |
@BjornFJohansson would it be possible to distribute cai2 as a conda package and further install as |
I think it is the 2to3 option in setup.py.
Is 2to3 still needed?
Collecting CAI Using cached CAI-1.0.3.tar.gz (6.0 kB) ERROR: Command errored out with exit status 1: command: /home/bjorn/anaconda3/envs/new39/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y9phjkp9/cai_8c869096cf864cb8934fa27a731d3393/setup.py'"'"'; __file__='"'"'/tmp/pip-install-y9phjkp9/cai_8c869096cf864cb8934fa27a731d3393/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-52f8wm2g cwd: /tmp/pip-install-y9phjkp9/cai_8c869096cf864cb8934fa27a731d3393/ Complete output (1 lines): error in CAI setup command: use_2to3 is invalid.
The text was updated successfully, but these errors were encountered: