https://github.com/NVIDIA/DIGITS
Revision f2b0b0a6404e1d463fb73d8f047be473f1552a5f authored by Luke Yeager on 23 September 2016, 16:34:16 UTC, committed by GitHub on 23 September 2016, 16:34:16 UTC
2 parent s 3b9cfde + 552e4bb
Raw File
Tip revision: f2b0b0a6404e1d463fb73d8f047be473f1552a5f authored by Luke Yeager on 23 September 2016, 16:34:16 UTC
Merge pull request #927 from gheinrich/dev/plugin-support
Tip revision: f2b0b0a
setup.py
#!/usr/bin/env python2
# Copyright (c) 2016, NVIDIA CORPORATION.  All rights reserved.

import os.path
import setuptools

LOCAL_DIR = os.path.dirname(os.path.abspath(__file__))

# Get current __version__
execfile(os.path.join(LOCAL_DIR, 'digits', 'version.py'))

# Get requirements
requirements = []
with open(os.path.join(LOCAL_DIR, 'requirements.txt'), 'r') as infile:
    for line in infile:
        line = line.strip()
        if line and not line[0] == '#':  # ignore comments
            requirements.append(line)

# Get test requirements
test_requirements = []
with open(os.path.join(LOCAL_DIR, 'requirements_test.txt'), 'r') as infile:
    for line in infile:
        line = line.strip()
        if line and not line[0] == '#':  # ignore comments
            test_requirements.append(line)

setuptools.setup(
    name='digits',
    version=__version__,
    description="NVIDIA's Deep Learning GPU Training System",
    url='https://developer.nvidia.com/digits',
    author='DIGITS Development Team',
    author_email='digits@nvidia.com',
    license='BSD',
    classifiers=[
        'Framework :: Flask',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2 :: Only',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
    ],
    keywords='nvidia digits',
    packages=setuptools.find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=requirements,
    extras_require={ 'test': test_requirements },
    scripts=['digits-server', 'digits-devserver'],
)

back to top