setup.py 693 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
10
readme = open('README.rst').read()

VERSION = '0.1.6'
soumith's avatar
soumith committed
11

12
13
14
15
16
17
18
19
# same as ./requirements.txt
requirements = [
    'numpy',
    'pillow',
    'six',
    'torch',
]

Thomas Grainger's avatar
Thomas Grainger committed
20
setup(
soumith's avatar
soumith committed
21
22
23
24
25
26
27
    # 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
28
    long_description=readme,
soumith's avatar
soumith committed
29
30
31
    license='BSD',

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

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