Skip to content

Commit

Permalink
Build with pyproject.toml instead
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickOHara committed Mar 29, 2024
1 parent be8ddab commit a458531
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 34 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Patrick O'Hara
Copyright (c) 2024 Patrick O'Hara

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name="tspwplib"
authors = [
{name = "Patrick O'Hara", email = "[email protected]"},
]
urls = {Code = "https://github.com/PatrickOHara/tspwplib", Documentation = "https://patrickohara.github.io/tspwplib/", Download = "https://pypi.org/project/tspwplib/", Homepage = "https://github.com/PatrickOHara/tspwplib", Issues = "https://github.com/PatrickOHara/tspwplib/issues"}
description="Library of instances for TSP with Profits"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["Distributionally Robust Optimisation"]
license = {text = "MIT"}
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
]
dependencies = [
"networkx>=3.0.0",
"numpy>=1.26.0",
"pandas>=2.0.0",
"pydantic>=2.5.3",
"pyyaml>=6.0",
"tsplib95@git+https://github.com/ben-hudson/tsplib95.git",
]
dynamic = ["version"]

[tool.setuptools]
packages = ["tspwplib"]

[tool.setuptools_scm]
33 changes: 0 additions & 33 deletions setup.py

This file was deleted.

0 comments on commit a458531

Please sign in to comment.