-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
26 lines (24 loc) · 865 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='DISTS_pytorch',
version='0.1',
description='Deep Image Structure and Texture Similarity (DISTS) Metric',
long_description=long_description,
long_description_content_type="text/markdown",
packages=['DISTS_pytorch'],
package_data= {'': ['DISTS_pytorch/weights.pt']},
data_files= [('', ['DISTS_pytorch/weights.pt'])],
include_package_data=True,
author='Keyan Ding',
author_email='[email protected]',
install_requires=["torch>=1.0"],
url='https://github.com/dingkeyan93/DISTS',
keywords = ['pytorch', 'similarity', 'VGG','texture','structure','metric'],
platforms = "python",
license='MIT',
)
# python setup.py sdist bdist_wheel
# twine check dist/*
# twine upload dist/*