godatadriven / evol

a python grammar for evolutionary algorithms and heuristics
https://evol.rtfd.io
MIT License
187 stars 12 forks source link

Update pythonpackage.yml #139

Closed koaning closed 5 years ago

koaning commented 5 years ago
koaning commented 5 years ago
koaning commented 5 years ago

I think I am missing something. How can you run flake8/pytest without installing it? I also think that we must install multiprocess for pytest to run. I'd like to install sphinx as well since doc rendering issues might be a thing.

rogiervandergeer commented 5 years ago

I think I am missing something. How can you run flake8/pytest without installing it? I also think that we must install multiprocess for pytest to run. I'd like to install sphinx as well since doc rendering issues might be a thing.

The setup.py handles the installation of the setup_requires and tests_require dependencies when you run python setup.py <test/flake8>. See https://blog.godatadriven.com/setup-py. You may need to shuffle the requirements in the setup.py. In any case, if multiprocess is absolutely required to use evol, we need to add it to the install_requires.

koaning commented 5 years ago

I've shuffled things around. This should be a lot better. Happy to report that the CI now takes less than a minute.

rogiervandergeer commented 5 years ago

You're missing some newlines at the end of files, but other than that this looks good!