1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/NVIDIA_Developer_Community-DIGITS

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
setup.py 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Luke Yeager Отправлено 17.01.2017 21:48 a826ba7
#!/usr/bin/env python2
# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
import os.path
import setuptools
LOCAL_DIR = os.path.dirname(os.path.abspath(__file__))
# Get current __version__
version_locals = {}
execfile(os.path.join(LOCAL_DIR, 'digits', 'version.py'), {}, version_locals)
# 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_locals['__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-devserver'],
)

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/NVIDIA_Developer_Community-DIGITS.git
git@api.gitlife.ru:oschina-mirror/NVIDIA_Developer_Community-DIGITS.git
oschina-mirror
NVIDIA_Developer_Community-DIGITS
NVIDIA_Developer_Community-DIGITS
master