2020-02-17 17:02:52 +00:00
|
|
|
"""Install ProtoTorch."""
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import find_packages
|
|
|
|
|
|
|
|
PROJECT_URL = 'https://github.com/si-cim/prototorch'
|
|
|
|
DOWNLOAD_URL = 'https://github.com/si-cim/prototorch.git'
|
|
|
|
|
|
|
|
with open('README.md', 'r') as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
setup(name='prototorch',
|
2020-04-05 11:31:06 +00:00
|
|
|
version='0.0.0-dev1',
|
2020-02-17 17:02:52 +00:00
|
|
|
description='Highly extensible, GPU-supported '
|
|
|
|
'Learning Vector Quantization (LVQ) toolbox '
|
|
|
|
'built using PyTorch and its nn API.',
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
author='Jensun Ravichandran',
|
|
|
|
author_email='jjensun@gmail.com',
|
|
|
|
url=PROJECT_URL,
|
|
|
|
download_url=DOWNLOAD_URL,
|
|
|
|
license='MIT',
|
|
|
|
install_requires=[
|
|
|
|
'torch>=1.3.1',
|
2020-04-05 11:31:06 +00:00
|
|
|
'torchvision>=0.5.0',
|
2020-02-17 17:02:52 +00:00
|
|
|
'numpy>=1.9.1',
|
|
|
|
],
|
|
|
|
extras_require={
|
2020-04-06 13:58:35 +00:00
|
|
|
'examples': [
|
|
|
|
'sklearn',
|
|
|
|
'matplotlib',
|
2020-02-17 17:02:52 +00:00
|
|
|
],
|
2020-04-06 13:58:35 +00:00
|
|
|
'tests': ['unittest'],
|
2020-02-17 17:02:52 +00:00
|
|
|
},
|
|
|
|
classifiers=[
|
2020-04-05 11:31:06 +00:00
|
|
|
'Development Status :: 2 - Pre-Alpha', 'Environment :: Console',
|
|
|
|
'Intended Audience :: Developers', 'Intended Audience :: Education',
|
2020-02-17 17:02:52 +00:00
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-03-30 11:29:34 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2020-02-17 17:02:52 +00:00
|
|
|
'Operating System :: OS Independent',
|
2020-04-05 11:31:06 +00:00
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
2020-02-17 17:02:52 +00:00
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
|
|
],
|
|
|
|
packages=find_packages())
|