-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to version 0.1.0 and prepare for release (#287)
- Loading branch information
Showing
20 changed files
with
52 additions
and
55 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 |
---|---|---|
|
@@ -15,6 +15,7 @@ pyro/contrib/examples/raw | |
pyro/_version.py | ||
processed | ||
raw | ||
prep_seal_data.csv | ||
|
||
# Logs | ||
logs | ||
|
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
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
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,4 +1,3 @@ | ||
contextlib2 | ||
multipledispatch | ||
numpy>=1.7 | ||
opt_einsum>=2.3.2 | ||
|
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
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
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
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 |
---|---|---|
|
@@ -2,10 +2,8 @@ | |
from urllib.request import urlopen | ||
|
||
import pandas as pd | ||
|
||
import torch | ||
|
||
|
||
MISSING = 1e-6 | ||
|
||
|
||
|
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
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
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
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
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
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
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,19 +1,39 @@ | ||
import sys | ||
|
||
from setuptools import find_packages, setup | ||
|
||
# READ README.md for long description on PyPi. | ||
# This requires uploading via twine, e.g.: | ||
# $ python setup.py sdist bdist_wheel | ||
# $ twine upload --repository-url https://test.pypi.org/legacy/ dist/* # test version | ||
# $ twine upload dist/* | ||
try: | ||
long_description = open('README.md', encoding='utf-8').read() | ||
except Exception as e: | ||
sys.stderr.write(f'Failed to convert README.md to rst:\n {e}\n') | ||
sys.stderr.flush() | ||
long_description = '' | ||
|
||
# Remove badges since they will always be obsolete. | ||
# This assumes the first 4 lines contain badge info. | ||
long_description = '\n'.join(line for line in long_description.split('\n')[4:]) | ||
|
||
setup( | ||
name='funsor', | ||
version='0.0.0', | ||
description='Functional analysis + tensors + symbolic algebra', | ||
version='0.1.0', | ||
description='A tensor-like library for functions and distributions', | ||
packages=find_packages(include=['funsor', 'funsor.*']), | ||
url='https://github.com/pyro-ppl/funsor', | ||
project_urls={ | ||
"Documentation": "https://funsor.pyro.ai", | ||
}, | ||
author='Uber AI Labs', | ||
author_email='[email protected]', | ||
install_requires=[ | ||
'contextlib2', | ||
'multipledispatch', | ||
'numpy>=1.7', | ||
'opt_einsum>=2.3.2', | ||
'pyro-ppl>=0.3', | ||
'pyro-ppl>=0.5', | ||
'torch>=1.3.0', | ||
], | ||
extras_require={ | ||
|
@@ -23,7 +43,7 @@ | |
'pytest>=4.1', | ||
'pytest-xdist==1.27.0', | ||
'torchvision==0.2.1', | ||
'pyro-api@https://api.github.com/repos/pyro-ppl/pyro-api/tarball/master', | ||
'pyro-api>=0.1', | ||
], | ||
'dev': [ | ||
'flake8', | ||
|
@@ -36,7 +56,8 @@ | |
'torchvision==0.2.1', | ||
], | ||
}, | ||
tests_require=['flake8', 'pandas', 'pytest>=4.1'], | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
keywords='probabilistic machine learning bayesian statistics pytorch', | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
|
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
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
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
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
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