From a3e21f67013546dd7adc3c7979611af200919b09 Mon Sep 17 00:00:00 2001 From: Ruth Fong Date: Mon, 28 Oct 2019 16:14:29 +0900 Subject: [PATCH 1/2] Add files and updates for pypi upload v1.0.0.1. --- setup.cfg | 2 ++ setup.py | 15 ++++++++++++--- torchray/VERSION | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py index dd373d3..8cb3fc4 100644 --- a/setup.py +++ b/setup.py @@ -14,19 +14,28 @@ 'torchray': ['VERSION'], 'torchray.benchmark': ['*.txt'] }, - url='http://pypi.python.org/pypi/torchray/', + url='https://github.com/facebookresearch/TorchRay', + download_url='https://github.com/ruthcfong/TorchRay/archive/v1.0.0.1.tar.gz', author='Andrea Vedaldi', author_email='vedaldi@fb.com', license='Creative Commons Attribution-Noncommercial 4.0 International', description='TorchRay is a PyTorch library of visualization methods for convnets.', long_description=open('README.md').read(), long_description_content_type="text/markdown", + python_requires='>=3.4', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', - 'Topic :: Machine Learning :: Neural Networks', - 'License :: OSI Approved :: Creative Commons Attribution-Noncommercial 4.0 International', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Topic :: Scientific/Engineering', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', + 'Topic :: Software Development', + 'Topic :: Software Development :: Libraries', + 'Topic :: Software Development :: Libraries :: Python Modules', ], install_requires=[ 'importlib_resources', diff --git a/torchray/VERSION b/torchray/VERSION index 3eefcb9..217625a 100644 --- a/torchray/VERSION +++ b/torchray/VERSION @@ -1 +1 @@ -1.0.0 +1.0.0.1 \ No newline at end of file From 29d86f51c056a829fc4646bdc19f64886c6b0a30 Mon Sep 17 00:00:00 2001 From: Ruth Fong Date: Thu, 7 Nov 2019 22:02:11 +0000 Subject: [PATCH 2/2] Update to require Python 3.6+ for f-string support for v1.0.0.2 release. --- README.md | 2 +- setup.py | 6 ++---- torchray/VERSION | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6bb0d08..f27f8ae 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ plot_example(x, saliency, 'grad-cam backprop', category_id) TorchRay requires: -* Python 3.4 or greater +* Python 3.6 or greater * pytorch 1.1.0 or greater * matplotlib diff --git a/setup.py b/setup.py index 8cb3fc4..a307a85 100644 --- a/setup.py +++ b/setup.py @@ -15,20 +15,18 @@ 'torchray.benchmark': ['*.txt'] }, url='https://github.com/facebookresearch/TorchRay', - download_url='https://github.com/ruthcfong/TorchRay/archive/v1.0.0.1.tar.gz', + download_url='https://github.com/ruthcfong/TorchRay/archive/v1.0.0.2.tar.gz', author='Andrea Vedaldi', author_email='vedaldi@fb.com', license='Creative Commons Attribution-Noncommercial 4.0 International', description='TorchRay is a PyTorch library of visualization methods for convnets.', long_description=open('README.md').read(), long_description_content_type="text/markdown", - python_requires='>=3.4', + python_requires='>=3.6', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Scientific/Engineering', diff --git a/torchray/VERSION b/torchray/VERSION index 217625a..8a4cf41 100644 --- a/torchray/VERSION +++ b/torchray/VERSION @@ -1 +1 @@ -1.0.0.1 \ No newline at end of file +1.0.0.2 \ No newline at end of file