Skip to content

Commit

Permalink
Add files for uploading package to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazukiosawa committed Jul 22, 2021
1 parent 8f79fe3 commit 83035d3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
21 changes: 21 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[metadata]
name = asdfghjkl
version = 0.1a1
author = Kazuki Osawa
author_email = [email protected]
description = ASDL: Automatic Second-order Differentiation (for Fisher, Gradient covariance, Hessian, Jacobian, and Kernel) Library
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/kazukiosawa/asdfghjkl
project_urls =
Bug Tracker = https://github.com/kazukiosawa/asdfghjkl/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
packages = find:
python_requires = >=3.6
install_requires =
torch >= 1.7.0
15 changes: 3 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
from setuptools import find_packages, setup
import setuptools

with open('requirements.txt') as f:
requirements = f.read().splitlines()

setup(
name='asdfghjkl',
version='0.0.1',
description='ASDL: Automatic Second-order Differentiation (for Fisher, Gradient covariance, Hessian, Jacobian, and Kernel) Library',
install_requires=requirements,
packages=find_packages(include=['asdfghjkl', 'asdfghjkl.*']),
python_requires='>=3.6'
)
if __name__ == "main":
setuptools.setup()

0 comments on commit 83035d3

Please sign in to comment.