joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.55k stars 36 forks source link

Stupid question: Installing from git #16

Closed volkerkarle closed 3 years ago

volkerkarle commented 3 years ago

Dear developers,

I intended to clone directly from git and install it from there, but I could not find a setup.py. How does it work?

Best,

v.

joouha commented 3 years ago

Hello,

No questions are stupid here :-)

Euporie uses a pyproject.toml file instead of a setup.py script. pyproject.toml is a new configuration file for python packages - if you want to read more about it, it is defined in PEP 518 and expanded in PEP 621.

If you want to install from git, you can do so as follows:

git clone https://github.com/joouha/euporie.git
cd euporie
pip install .

You'll need a fairly up-to-date version of pip to install packages with pyproject.toml configuration files.

I should probably add some instructions for how to install from git to the README.

volkerkarle commented 3 years ago

Thanks a lot, that was new to me.