Skip to content

Commit

Permalink
Include ImageNet json in the package
Browse files Browse the repository at this point in the history
  • Loading branch information
MisaOgura committed Jun 13, 2019
1 parent 7c85304 commit 09ba0d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include flashtorch/utils/resources/imagenet_class_index.json
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
with open('README.md', 'r') as fh:
long_description = fh.read()

version = '0.0.5'
version = '0.0.6'

setup(
name='flashtorch',
Expand All @@ -16,12 +16,17 @@
long_description_content_type='text/markdown',
url='https://github.com/MisaOgura/flashtorch',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
package_data={'flashtorch.utils.resources':
['imagenet_class_index.json']
},
install_requires=[
'matplotlib',
'numpy',
'Pillow',
'torch',
'torchvision',
'importlib_resources'
],
classifiers=[
'Programming Language :: Python :: 3',
Expand Down

0 comments on commit 09ba0d7

Please sign in to comment.