-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from zurk/setup
Add setup.py
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
torch==1.0.0 | ||
torchvision==0.2.1 |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="cirtorch", | ||
description="CNN Image Retrieval in PyTorch: " | ||
"Training and evaluating CNNs for Image Retrieval in PyTorch", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
version="0.0.1", | ||
url="https://github.com/filipradenovic/cnnimageretrieval-pytorch", | ||
download_url="https://github.com/filipradenovic/cnnimageretrieval-pytorch", | ||
packages=find_packages(), | ||
keywords=["machine learning", "cnn", "computer vision"], | ||
install_requires=[ | ||
"torch>=1.0.0,<1.4.0", | ||
"torchvision", | ||
], | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python :: 3.7", | ||
"License :: OSI Approved :: MIT License", | ||
], | ||
) |