libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
410 stars 36 forks source link

Not installing from git on python 3.9 anaconda #107

Closed keiv-fly closed 3 years ago

keiv-fly commented 3 years ago

After creating a new conda environment on Windows 10 with:

conda create -n py39 python=3.9 anaconda

The pip did not work from git:

pip install git+https://github.com/libtcod/python-tcod.git#egg=tcod

The following error occured:

No module named 'setuptools.build-meta'

The problem was solved by a workaround: Copying manually with

git clone https://github.com/libtcod/python-tcod.git
git submodule update --init

Then deleting the pyproject.toml file and then running the following command in the python-tcod folder:

pip install .
HexDecimal commented 3 years ago

I was able to reproduce and fix the issues on Windows. It should now install correctly as long as pip is up to date.