56 lines
1.9 KiB
Python
Executable File
56 lines
1.9 KiB
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
|
|
import pytorch_lightning
|
|
|
|
# https://packaging.python.org/guides/single-sourcing-package-version/
|
|
|
|
# http://blog.ionelmc.ro/2014/05/25/python-packaging/
|
|
setup(
|
|
name="pytorch-lightning",
|
|
version=pytorch_lightning.__version__,
|
|
description=pytorch_lightning.__doc__,
|
|
author=pytorch_lightning.__author__,
|
|
author_email=pytorch_lightning.__author_email__,
|
|
url=pytorch_lightning.__homepage__,
|
|
license=pytorch_lightning.__license__,
|
|
packages=['pytorch_lightning'],
|
|
|
|
long_description=open("README.md", encoding="utf-8").read(),
|
|
long_description_content_type='text/markdown',
|
|
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
|
|
keywords=["deep learning", "pytorch", "AI"],
|
|
python_requires=">=3.6",
|
|
install_requires=[
|
|
"torch>=1.1.0",
|
|
"tqdm",
|
|
"test-tube>=0.6.7.6",
|
|
],
|
|
|
|
classifiers=[
|
|
'Environment :: Console',
|
|
'Natural Language :: English',
|
|
# How mature is this project? Common values are
|
|
# 3 - Alpha, 4 - Beta, 5 - Production/Stable
|
|
'Development Status :: 4 - Beta',
|
|
# Indicate who your project is intended for
|
|
'Intended Audience :: Developers',
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
'Topic :: Scientific/Engineering :: Image Recognition',
|
|
'Topic :: Scientific/Engineering :: Information Analysis',
|
|
# Pick your license as you wish
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
# Specify the Python versions you support here. In particular, ensure
|
|
# that you indicate whether you support Python 2, Python 3 or both.
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
],
|
|
)
|