setup.py 664 Bytes
Newer Older
soumith's avatar
soumith committed
1
2
3
4
5
6
7
#!/usr/bin/env python
import os
import shutil
import sys
from setuptools import setup, find_packages


Thomas Grainger's avatar
Thomas Grainger committed
8
9
readme = open('README.rst').read()

Soumith Chintala's avatar
Soumith Chintala committed
10
VERSION = '0.1.8'
soumith's avatar
soumith committed
11

12
13
14
15
16
17
18
requirements = [
    'numpy',
    'pillow',
    'six',
    'torch',
]

Thomas Grainger's avatar
Thomas Grainger committed
19
setup(
soumith's avatar
soumith committed
20
21
22
23
24
25
26
    # Metadata
    name='torchvision',
    version=VERSION,
    author='PyTorch Core Team',
    author_email='soumith@pytorch.org',
    url='https://github.com/pytorch/vision',
    description='image and video datasets and models for torch deep learning',
Thomas Grainger's avatar
Thomas Grainger committed
27
    long_description=readme,
soumith's avatar
soumith committed
28
29
30
    license='BSD',

    # Package info
soumith's avatar
soumith committed
31
    packages=find_packages(exclude=('test',)),
soumith's avatar
soumith committed
32
33

    zip_safe=True,
34
    install_requires=requirements,
soumith's avatar
soumith committed
35
)