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
Add a setup.py script #1093
Add a setup.py script #1093
Conversation
269c721
to
373b22b
Compare
@gheinrich this seems to be working now. Will you take a look and/or test it with your plugin work? |
EDIT: nevermind. We just won't support PyPI for now so as to not rock the boat too much. Justification for removing I wanted to leave the requirements files alone, and read them in requirements = []
with open(os.path.join(LOCAL_DIR, 'requirements.txt'), 'r') as infile:
for line in infile:
line = line.strip()
if line and not line[0] == '#': # ignore comments
requirements.append(line)
setuptools.setup(
# ...
install_requires=requirements,
) That worked fine for local installs, but failed when trying to download from PyPI:
Apparently, pip has to re-calculate the requirements based on This was the most helpful resource I found: https://caremad.io/posts/2013/07/setup-vs-requirement/ |
4cfa3f9
to
8264a15
Compare
When I do
|
Oh yeah, I forgot about that issue. I gave up on it and just removed all the jobs and the data and the install seems to work fine. I'm not sure this is fix-able. I'll try to dig into it more... |
In preparation for setup.py
In preparation for setup.py
In preparation for setup.py
That looks OK to me! |
Add a setup.py script
Merge #1091 first
TODO:
digits-server
doesn't work because it can't findgunicorn_config.py
tools/
directory isn't copiedTry uploading to PyPIStop copying jobs directory around on pip installpip install -e .