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

Moved the metadata into setup.cfg #513

Closed
wants to merge 1 commit into from
Closed
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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
36 changes: 35 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
[metadata]
description-file = README.md
name = autograd
version = 1.2
author = Dougal Maclaurin and David Duvenaud and Matthew Johnson
author_email = maclaurin@physics.harvard.edu, duvenaud@cs.toronto.edu, mattjj@csail.mit.edu
license = MIT
license_file = license.txt
description = Efficiently computes derivatives of numpy code.
long_description = file: README.md
long_description_content_type = text/markdown
keywords =
Automatic differentiation
backpropagation
gradients
machine learning
optimization
neural networks
Python
Numpy
Scipy
url = https://github.com/HIPS/autograd
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.5

[options]
packages =
autograd
autograd.numpy
autograd.scipy
autograd.scipy.stats
autograd.misc
install_requires = numpy>=1.12; future>=0.15.2
setup_requires = setuptools; setuptools_scm
21 changes: 3 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
from setuptools import setup

setup(
name='autograd',
version='1.3',
description='Efficiently computes derivatives of numpy code.',
author='Dougal Maclaurin and David Duvenaud and Matthew Johnson',
author_email="maclaurin@physics.harvard.edu, duvenaud@cs.toronto.edu, mattjj@csail.mit.edu",
packages=['autograd', 'autograd.numpy', 'autograd.scipy', 'autograd.scipy.stats', 'autograd.misc'],
install_requires=['numpy>=1.12', 'future>=0.15.2'],
keywords=['Automatic differentiation', 'backpropagation', 'gradients',
'machine learning', 'optimization', 'neural networks',
'Python', 'Numpy', 'Scipy'],
url='https://github.com/HIPS/autograd',
license='MIT',
classifiers=['Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5'],
)
if __name__ == "__main__":
setup()