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

Tweaks for PyPI release #101

Merged
merged 2 commits into from
Jul 22, 2021
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This library provides [stochastic differential equation (SDE)](https://en.wikipe

## Installation
```shell script
pip install git+https://github.com/google-research/torchsde.git
pip install torchsde
```

**Requirements:** Python >=3.6 and PyTorch >=1.6.0.
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,17 @@
else:
raise RuntimeError("Unable to find __version__ string.")

with open(os.path.join(here, 'README.md')) as f:
readme = f.read()

setuptools.setup(
name="torchsde",
version=version,
author="Xuechen Li",
author_email="lxuechen@cs.toronto.edu",
description="SDE solvers and stochastic adjoint sensitivity analysis in PyTorch.",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/google-research/torchsde",
packages=setuptools.find_packages(exclude=['benchmarks', 'diagnostics', 'examples', 'tests']),
install_requires=[
Expand Down