Skip to content

Commit

Permalink
move from setup.py to pyproject.toml -the recommended way to setup pa…
Browse files Browse the repository at this point in the history
…ckages
  • Loading branch information
siddharth9820 committed Oct 19, 2024
1 parent 0b6328c commit c08056a
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 28 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
recursive-include axonn *.py
prune axonn/tests
global-exclude __pycache__/
37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2024 Parallel Software and Systems Group, University of Maryland.
# See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "axonn"
version = "0.1.0"
authors = [
{ name="Siddharth Singh", email="ssingh37@umd.edu" },
{ name="Abhinav Bhatele", email="bhatele@cs.umd.edu"},
]
description = "A parallel library for extreme-scale deep learning"
readme = "README.md"
license = { name = "Apache-2.0", file = "LICENSE" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]


[tool.setuptools.packages.find]
include = ["axonn"]
exclude = ["axonn/tests", "**/__pycache__"]


[project.urls]
Homepage = "https://github.com/axonn-ai/axonn"
Issues = "https://github.com/axonn-ai/axonn/issues"
Docs = "https://axonn.readthedocs.io/en/latest/"

2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Parallel Software and Systems Group, University of Maryland.
# Copyright 2022-2024 Parallel Software and Systems Group, University of Maryland.
# See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

22 changes: 0 additions & 22 deletions setup.py

This file was deleted.

0 comments on commit c08056a

Please sign in to comment.