add package info (#359)

* add package info #358

* Update __init__.py

* Update __init__.py
This commit is contained in:
Jirka Borovec 2019-10-18 11:01:32 +03:00 committed by William Falcon
parent d30a3bf17a
commit a7f26a67ac
2 changed files with 18 additions and 6 deletions

View File

@ -7,3 +7,13 @@ __all__ = [
'LightningModule', 'LightningModule',
'data_loader', 'data_loader',
] ]
__version__ = '0.5.2.1'
__author__ = ' William Falcon et al.'
__author_email__ = 'waf2107@columbia.edu'
__license__ = 'Apache-2.0'
__homepage__ = 'https://github.com/williamFalcon/pytorch-lightning',
__doc__ = """# PyTorch Lightning
The lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.
"""

View File

@ -7,6 +7,8 @@ from setuptools import setup, find_packages
# http://blog.ionelmc.ro/2014/05/25/python-packaging/ # http://blog.ionelmc.ro/2014/05/25/python-packaging/
import pytorch_lightning
# https://packaging.python.org/discussions/install-requires-vs-requirements / # https://packaging.python.org/discussions/install-requires-vs-requirements /
# keep the meta-data here for simplicity in reading this file... it's not obvious # keep the meta-data here for simplicity in reading this file... it's not obvious
# what happens and to non-engineers they won't know to look in init ... # what happens and to non-engineers they won't know to look in init ...
@ -14,13 +16,13 @@ from setuptools import setup, find_packages
# engineer specific practices # engineer specific practices
setup( setup(
name='pytorch-lightning', name='pytorch-lightning',
version='0.5.2.1', version=pytorch_lightning.__version__,
description='The Keras for ML researchers using PyTorch', description=pytorch_lightning.__doc__,
author='William Falcon', author=pytorch_lightning.__author__,
author_email='waf2107@columbia.edu', author_email=pytorch_lightning.__author_email__,
url='https://github.com/williamFalcon/pytorch-lightning', url=pytorch_lightning.__homepage__,
download_url='https://github.com/williamFalcon/pytorch-lightning', download_url='https://github.com/williamFalcon/pytorch-lightning',
license='Apache-2', license=pytorch_lightning.__license__,
packages=find_packages(), packages=find_packages(),
long_description=open('README.md', encoding='utf-8').read(), long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown', long_description_content_type='text/markdown',