Re: [python-committers] Thank you Larry Hastings!
On 05Oct2020 22:14, Tal Einat wrote: >You have my thanks as well, Larry. And mine. - Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list
Re: [python-committers] Thank you Larry Hastings!
Thank you, Larry! Cheers, Nick. -- https://mail.python.org/mailman/listinfo/python-list
[poetry] Entry points not converted to scripts
Hi, I'm using poetry and in my pyproject.toml I have [tool.poetry.scripts] batchmon = "batch_monitor.main:main" I build the package with poetry build and then install with pip3 install --target=/home/loris/test/lib/python-3.6/site-packages --install-option="--install-scripts=/home/loris/test/bin" /home/loris/gitlab/batch_monitor/dist/batch_monitor-0.2.0-py3-none-any.whl --upgrade The package is installed OK in the target directory, but the 'bin' directory remains empty. Am I wrong in assuming that some sort of command-line script should be automatically created in 'bin' or am I just doing something wrong? Either way, how should I proceed? Cheers, Loris -- This signature is currently under construction. -- https://mail.python.org/mailman/listinfo/python-list
Re: [poetry] Entry points not converted to scripts
"Loris Bennett" writes: > Hi, > > I'm using poetry and in my pyproject.toml I have > > [tool.poetry.scripts] > batchmon = "batch_monitor.main:main" > > I build the package with > > poetry build > > and then install with > > pip3 install --target=/home/loris/test/lib/python-3.6/site-packages > --install-option="--install-scripts=/home/loris/test/bin" > /home/loris/gitlab/batch_monitor/dist/batch_monitor-0.2.0-py3-none-any.whl > --upgrade > > The package is installed OK in the target directory, but the 'bin' > directory remains empty. > > Am I wrong in assuming that some sort of command-line script should be > automatically created in 'bin' or am I just doing something wrong? > > Either way, how should I proceed? I have worked out that poetry install will create the script in ~/.cache/pypoetry/virtualenvs/batch-monitor-JsZvz0Fs-py3.6/bin/batchmon and that export PYTHONUSERBASE=/home/loris/test pip3 install --user /home/loris/gitlab/batch_monitor/dist/batch_monitor-0.2.0-py3-none-any.whl --upgrade installs things as expected. I then just need export PYTHONPATH=/home/loris/test/lib/python3.6/site-packages to get the scripts to run. Cheers, Loris -- This signature is currently under construction. -- https://mail.python.org/mailman/listinfo/python-list
A new project to be started
Hello to everyone, i don't have a clear idea about who to write about this project, which is only an idea, but it has to be written i think. At first it was just a comparative literature research project, but now that i am more involved in development, it has started to become more like a different programming language or framework. There is someone here who can receive attachments and who has the time to read the research project and look at the presentation i am making? Is anyone interested in developing a new language/framework on python? Who should i ask to? I only have a degree in Philosophy, i didn't have the money to take a new one in computer science and so i studied by myself (luckily the university exam bibliographies are public in Italy). I have an idea of these two fields but there is another one involved, that is Theory of language and logic (mathematical and constructivist logic). However is there anyone here i can speak to about those arguments? Thanks a lot. Agnese Camellini -- https://mail.python.org/mailman/listinfo/python-list
Re: [poetry] Entry points not converted to scripts
I do not know poetry, but it seems it uses virtual environments, so I suppose it's quite more simple if you run poetry shell and install and run all you need. -- https://mail.python.org/mailman/listinfo/python-list
Truncation error
How is PYTHON better than other software's(MATLAB) in case of truncation or rounding off error. Thanks Meghna -- https://mail.python.org/mailman/listinfo/python-list
Re: Truncation error
If you want to avoid float problems, you can use Decimal: https://docs.python.org/3/library/decimal.html On Wed, 7 Oct 2020 at 05:23, Meghna Karkera wrote: > > How is PYTHON better than other software's(MATLAB) in case of truncation or > rounding off error. > > Thanks > Meghna > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: [poetry] Entry points not converted to scripts
Marco Sulla writes: > I do not know poetry, but it seems it uses virtual environments, so I > suppose it's quite more simple if you run > > poetry shell > > and install and run all you need. As I understand it, that would just create a shell within the virtual environment. That wouldn't help me. What I wanted to do was install the package I have written somewhere in the file system (in my case actually in a NFS mounted directory), so that it can be used just like any command-line tool in the OS. As I wrote pip3 install --user is what I needed. Cheers, Loris -- This signature is currently under construction. -- https://mail.python.org/mailman/listinfo/python-list
