forked from GRAAL-Research/poutyne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (38 loc) · 1.51 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
from setuptools import setup, find_packages
current_file_path = os.path.abspath(os.path.dirname(__file__))
readme_file_path = os.path.join(current_file_path, 'README.md')
with open(readme_file_path, 'r') as f:
readme = f.read()
version_file_path = os.path.join(current_file_path, 'poutyne/version.py')
with open(version_file_path, 'rb') as f:
# pylint: disable=exec-used,undefined-variable
exec(compile(f.read(), version_file_path, 'exec'), globals(), locals())
version = __version__
packages = find_packages()
setup(
name='Poutyne',
version=version,
author='Frédérik Paradis',
author_email='[email protected]',
url='https://poutyne.org',
download_url='https://github.com/GRAAL-Research/poutyne/archive/v' + version + '.zip',
license='GPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=packages,
install_requires=['numpy', 'torch'],
python_requires='>=3',
description='A Keras-like framework and utilities for PyTorch.',
long_description=readme,
long_description_content_type='text/markdown',
)