[MacPorts] #68347: Please develop a py-mesa port for mac OS
MacPorts
noreply at macports.org
Wed Oct 4 14:52:59 UTC 2023
#68347: Please develop a py-mesa port for mac OS
-----------------------+--------------------
Reporter: jbrundle | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-mesa |
-----------------------+--------------------
Comment (by jmroot):
Note that you can install most packages on PyPI without needing a port, by
using a venv. For example, after installing the python311 port:
{{{
% python3.11 -m venv ./mesa-env
}}}
This creates a venv container in a directory called `mesa-env` in the
current directory.
{{{
% ./mesa-env/bin/pip install mesa
}}}
This runs the `pip` installer inside the newly created venv and tells it
to install the mesa module. All of mesa's dependencies are installed
inside the venv as well. You can then run the mesa executable as
{{{
./mesa-env/bin/mesa
}}}
Docs for venv are at [https://docs.python.org/3/library/venv.html].
Because these tools are available, we generally only create ports for
python modules if they are a dependency of some other port, or if they
have a dependency that is available as a port but not installable by pip.
--
Ticket URL: <https://trac.macports.org/ticket/68347#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list