forked from rfeinman/pytorch-minimize
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving all package metadata into setup.py; remove redundant info from…
… pyproject.toml
- Loading branch information
Showing
2 changed files
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]', | ||
|