scot-dev / scot

EEG/MEG Source Connectivity Toolbox in Python
http://scot-dev.github.io/scot-doc/index.html
MIT License
58 stars 23 forks source link

Update README and remove Python 2 support #203

Closed cbrnr closed 1 year ago

cbrnr commented 1 year ago

Let's see if I can take this package to the present. This is a small start.

cbrnr commented 1 year ago

OK OK. This won't be that easy. I cannot even install the package in editable mode locally. Tests need to be converted to pytest. Travis needs to be replaced with GitHub Actions.

mbillingr commented 1 year ago

I exclusively use poetry now to manage dependencies and local development of Python packages. It uses pyproject.toml instead of setup.py/setup.cfg, which I find much more intuitive to maintain.

What do you think of switching?

cbrnr commented 1 year ago

Hi @mbillingr, nice to hear from you again 😃! I'd definitely switch to pyproject.toml, but I'd rather not use poetry. I'd prefer to stick with the official packaging tool pip, which also supports pyproject.toml nowadays: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/, https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

mbillingr commented 1 year ago

[pip] also supports pyproject.toml nowadays

nice! :)

cbrnr commented 1 year ago

Version and Python badges will be automatically updated based on the latest release on PyPI. So we should make one once we're done cleaning up!