Skip to content

Commit

Permalink
moving all package metadata into setup.py; remove redundant info from…
Browse files Browse the repository at this point in the history
… pyproject.toml
  • Loading branch information
rfeinman committed Sep 27, 2022
1 parent a252e30 commit 0c9945d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
20 changes: 1 addition & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
[build-system]
requires = ["setuptools>=46.4.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pytorch-minimize"
version = "0.0.1"
authors = [
{ name="Reuben Feinman", email="[email protected]" },
]
description = "Newton and Quasi-Newton optimization with PyTorch"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[project.urls]
"Homepage" = "https://pytorch-minimize.readthedocs.io"
build-backend = "setuptools.build_meta"
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
from setuptools import setup, find_packages
from pathlib import Path

# read the contents of your README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

# find packages
packages = find_packages(exclude=("tests", "tests.*"))

# setup
setup(
name='pytorch-minimize',
version='0.0.1',
description='Newton and Quasi-Newton optimization with PyTorch',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://pytorch-minimize.readthedocs.io',
author='Reuben Feinman',
author_email='[email protected]',
Expand Down

0 comments on commit 0c9945d

Please sign in to comment.