Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pyproject.toml #157

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ This version drops support for python 3.9 and below, and ONE is now in remote mo

- one.alf.cache.remove_cache_table_files and One.\_remove_cache_table_files for deleting cache table files
- one.alf.cache.EMPTY_DATASETS_FRAME and EMPTY_SESSION_FRAME vars for table column, index, and dtype template
- pyproject.toml replaces deprecated setup file

### Removed

- setup.py

## [2.11.1]

Expand Down
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "ONE-api"
dynamic = ["version", "readme", "dependencies"]
description = "Open Neurophysiology Environment"
authors = [
{name = "IBL Staff"},
]
requires-python = ">=3.10"
license = {text = "MIT"}

[project.urls]
Homepage = "https://github.com/int-brain-lab/ONE"
Documentation = "https://one.internationalbrainlab.org"
Repository = "https://github.com/int-brain-lab/ONE.git"
Issues = "https://github.com/int-brain-lab/ONE/issues"
Changelog = "https://github.com/int-brain-lab/ONE/blob/main/CHANGELOG.md"

[tool.setuptools.dynamic]
version = {attr = "one.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
dependencies = {file = ["requirements.txt"]}

[tool.setuptools.packages.find]
include = ["one*"]
exclude = ["one.tests*"]
52 changes: 0 additions & 52 deletions setup.py

This file was deleted.

Loading