Skip to content

Instantly share code, notes, and snippets.

@ology
Created November 9, 2024 18:18
Show Gist options
  • Save ology/8ea258532ea72f47cdfb2b5e9b6a1724 to your computer and use it in GitHub Desktop.
Save ology/8ea258532ea72f47cdfb2b5e9b6a1724 to your computer and use it in GitHub Desktop.
Can't list deps in my pyproject.toml?
(Python) gene@zappa:~/sandbox/dev/Python> pip install -i https://test.pypi.org/simple/ chess-coverage==0.1.1
Looking in indexes: https://test.pypi.org/simple/
Collecting chess-coverage==0.1.1
Using cached https://test-files.pythonhosted.org/packages/44/73/23e180406c9f065a76a81594b70cf8d1f17503f31b742c695b2ca7224fd0/chess_coverage-0.1.1-py3-none-any.whl.metadata (42 kB)
INFO: pip is looking at multiple versions of chess-coverage to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement chess (from chess-coverage) (from versions: none)
ERROR: No matching distribution found for chess
# This file configures the project for packaging, and can also hold other
# tools' configuration settings.
#
# More details about what can go in this file:
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[project]
# This is the basic information about your project. Change the details here
# to be about your project instead of "pkgsample".
name = "chess_coverage"
description = "Expose the potential energy of chess ply"
# You can change this to README.md if you prefer.
readme = "README.md"
# Put your own name and email address here. You can also add more authors.
authors = [
{ name = "Gene Boggs", email="[email protected]" },
]
# You can choose a different license: https://choosealicense.com/
# If you do, update the License classifier below, and put the correct text into
# your LICENSE.txt file.
license = { file = "LICENSE" }
# Classifiers for your package. PyPI displays these on its page.
# See https://pypi.org/classifiers/ for all of the possibilities.
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
# This is the minimum version of Python that pip will install your package on.
# An overview of Python versions, their features and their lifecycle time frames
# is at https://nedbatchelder.com/text/which-py.html.
requires-python = ">= 3.9"
# List your needed third-party libraries, if you have any.
dependencies = ["chess"]
# State that the version will be defined dynamically below.
dynamic = ["version"]
[project.urls]
# These URLs are displayed in a sidebar on PyPI. You don't have to have them,
# but they can help people learn more about your project. You can include as
# many named URLs as you want. They can be any URL, not just to GitHub.
Homepage = "https://github.com/ology/python-chess-coverage"
Repository = "https://github.com/ology/python-chess-coverage.git"
Issues = "https://github.com/ology/python-chess-coverage/issues"
[project.scripts]
# COMMANDS: These are commands you are installing. Omit this section if you
# have no commands. The names of the settings are the command names.
# The values are a string in the form "module.to.import:function_to_run".
# The 'pkgsample_add' command will run the function add_main() in the
# src/pkgsample/add_cli.py file.
#pkgsample_add = "pkgsample.add_cli:add_main"
[tool.setuptools.dynamic]
# The version number will be read from __version__ in src/pkgsample/__init__.py
version.attr = "chess_coverage.__version__"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment