Closed annazhukova closed 3 months ago
Hi annazhukova,
We are using Poetry as packager and installer for dev environment. The main.py is mostly there to give some guidelines for developers on how to use the library.
We got some instructions for dev setup (that could be clarified) here: https://github.com/tahiri-lab/aPhyloGeo/wiki/Contribution-Guidelines#development-setup
1 - install poetry if you dont already have it. best practice is to install it with their setup:
And you should get:
`C:\aphylogeo\aPhyloGeo>poetry install Creating virtualenv aphylogeo-8DOfMLu--py3.11 in C:\Users\gmarceau\AppData\Local\pypoetry\Cache\virtualenvs Installing dependencies from lock file
Package operations: 33 installs, 1 update, 0 removals
`C:\aphylogeo\aPhyloGeo>poetry shell Spawning shell within C:\Users\gmarceau\AppData\Local\pypoetry\Cache\virtualenvs\aphylogeo-8DOfMLu--py3.11
C:\aphylogeo\aPhyloGeo>()
(aphylogeo-py3.11) C:\aphylogeo\aPhyloGeo>python aphylogeo/main.py
Starting alignement
Searching for the centroid Starting multiprocessing, this might take some time The first process is ran alone for calibration purposes
Available memory: 2.27 / 2.78 Gb Active processes: 0 / 83408 ....`
Hope it help.
Hi, thank you for adding the development setup instructions.
I managed to run them all right, however with a few minor adjustments that should probably be listed on the page:
poetry install
produced an issue "Current Python version (3.8.19) is not allowed by the project (>=3.9.0)."cd aPhyloGeo
poetry shell
step is not needed (maybe also worth mentioning)python.exe aphylogeo/main.py
. It is maybe good for Windows, but for linux should be python aphylogeo/main.py
(again would not hurt to mention)Thanks!
I have tried to install aPhyloGeo using these guidlines on Ubuntu 22.04.4 LTS
I get the following issue: