Closed simonmarchant closed 4 years ago
This pull fixes #60 by replacing setup.py with requirements.txt. It installs pints & runs fine for me on a clean conda environment.
OH WAIT no it doesn't! Hold your horses, I will fix this.
hi @simonmarchant, I tried this using a python3 venv, but it failed with the following:
Obtaining file:///home/mrobins/git/PKPD
Requirement already satisfied: cma>=2 in ./env/lib/python3.6/site-packages (from PKPD==0.0.2.dev0)
Requirement already satisfied: matplotlib>=1.5 in ./env/lib/python3.6/site-packages (from PKPD==0.0.2.dev0)
Requirement already satisfied: myokit>=1.29 in ./env/lib/python3.6/site-packages (from PKPD==0.0.2.dev0)
Requirement already satisfied: numpy>=1.8 in ./env/lib/python3.6/site-packages (from PKPD==0.0.2.dev0)
Collecting pints@ git+git://github.com/pints-team/pints.git#egg=pints (from PKPD==0.0.2.dev0)
Exception:
Traceback (most recent call last):
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/home/mrobins/git/PKPD/env/lib/python3.6/site-packages/pip/index.py", line 795, in get_page
resp.raise_for_status()
File "/home/mrobins/git/PKPD/env/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/pints/
agreed in person
This pull fixes #60 by replacing setup.py with requirements.txt. It installs pints & runs fine for me on a clean conda environment.