gmcnutt / azoth

experimental python rpg
2 stars 0 forks source link

Hey hows it goin. #1

Open clort81 opened 2 months ago

clort81 commented 2 months ago

Can't get haxima/nazghul to build anymore. Been making a lot of textart for RPG.

Any interest? realmsOAsamplecap

clort81 commented 2 months ago

As for azoth:

$ ls -s dll
total 384
384 libtcod.so

Hmm is there an azoth.py?

$ find . -name \*.py
./main.py
./build.py
./setup.py
./azoth/sprite.py
./azoth/weapon.py
./azoth/animation.py
./azoth/place.py
./azoth/config.py
./azoth/executor.py
./azoth/event.py
./azoth/slot.py
./azoth/session.py
./azoth/classes.py
./azoth/human.py
./azoth/baseobject.py
./azoth/armor.py
./azoth/libtcodpy.py
./azoth/gui.py
./azoth/path.py
./azoth/item.py
./azoth/__init__.py
./azoth/controller.py
./azoth/terrain.py
./azoth/terrainmap.py
./azoth/container.py
./azoth/reagents.py
./azoth/being.py
./azoth/colors.py
./azoth/body.py
./tests/gui_tests.py
./tests/sprite_tests.py
./tests/place_tests.py
./tests/pragma_tests.py
./tests/session_tests.py
./tests/azoth_tests.py
./tests/terrainmap_tests.py
./tests/__init__.py
./tests/tools.py
./tests/slot_tests.py
./tests/path_tests.py
./tests/executor_tests.py
./tests/body_tests.py

Wut does ./main.py do?

Traceback (most recent call last):
  File "/media/sda1/dir/Projects/Games/azoth/./main.py", line 4, in <module>
    from azoth import baseobject, being, config, gui, session, sprite, \
  File "/media/sda1/dir/Projects/Games/azoth/azoth/baseobject.py", line 2, in <module>
    import copy_reg
ModuleNotFoundError: No module named 'copy_reg'

Hmm... confusing.

clort81 commented 2 months ago

made a venv for azoth and tried installing reqs:

$ pip3 install argparse
Collecting argparse
  Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Installing collected packages: argparse
Successfully installed argparse-1.4.0
(azo) 15:32:44-blap@BIGBOY:/media/sda1/dir
$ pip3 install distribute
Collecting distribute
  Downloading distribute-0.7.3.zip (145 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.4/145.4 kB 2.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 14, in <module>
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/setuptools/__init__.py", line 2, in <module>
          from setuptools.extension import Extension, Library
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/setuptools/extension.py", line 5, in <module>
          from setuptools.dist import _get_unpatched
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/setuptools/dist.py", line 7, in <module>
          from setuptools.command.install import install
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/setuptools/command/__init__.py", line 8, in <module>
          from setuptools.command import install_scripts
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/setuptools/command/install_scripts.py", line 3, in <module>
          from pkg_resources import Distribution, PathMetadata, ensure_directory
        File "/media/sda1/dir/tmpdir/pip-install-jd9tt_fa/distribute_d0af8762e8a549759acb6566f728fba7/pkg_resources.py", line 1518, in <module>
          register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
$ pip3 install wsgiref
Collecting wsgiref
  Downloading wsgiref-0.1.2.zip (37 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/media/sda1/dir/tmpdir/pip-install-so5zv2yy/wsgiref_d4331247a09c4665b59e0bd24b44737f/setup.py", line 5, in <module>
          import ez_setup
        File "/media/sda1/dir/tmpdir/pip-install-so5zv2yy/wsgiref_d4331247a09c4665b59e0bd24b44737f/ez_setup/__init__.py", line 170
          print "Setuptools version",version,"or greater has been installed."
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Python ecosystem is a dumpster fire, sadly.