Skip to content

Commit

Permalink
Update the setup.py (#64)
Browse files Browse the repository at this point in the history
* Update the setup.py
* sort imported modules
* use dedent to indent multi-line string

* make pep8 happy :-)

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
  • Loading branch information
GreatBahram and rasbt authored Oct 26, 2020
1 parent ff4ee37 commit d086295
Showing 1 changed file with 27 additions and 23 deletions.
50 changes: 27 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,42 @@
#
# License: BSD 3 clause

from setuptools import setup, find_packages
import watermark
from textwrap import dedent

from setuptools import find_packages, setup

from watermark import __version__ as VERSION
# Single-source version using method 6 from
# https://packaging.python.org/guides/single-sourcing-package-version/
VERSION = watermark.__version__

# Also see settings in setup.cfg
setup(
name='watermark',
name="watermark",
version=VERSION,
license='newBSD',
description=('IPython magic function to print date/time stamps and'
'various system information.'),
author='Sebastian Raschka',
author_email='mail@sebastianraschka.com',
url='https://github.com/rasbt/watermark',
license="newBSD",
description=(
"IPython magic function to print date/time stamps and"
"various system information."
),
author="Sebastian Raschka",
author_email="mail@sebastianraschka.com",
url="https://github.com/rasbt/watermark",
packages=find_packages(exclude=[]),
install_requires=['ipython'],
long_description="""
An IPython magic extension for printing date and time stamps, version numbers,
and hardware information.
install_requires=["ipython"],
long_description=dedent(
"""\
An IPython magic extension for printing date and time stamps, version
numbers, and hardware information.
Contact
=============
If you have any questions or comments about watermark,
please feel free to contact me via
email: mail@sebastianraschka.com
Contact
=============
If you have any questions or comments about watermark,
please feel free to contact me via
email: mail@sebastianraschka.com
This project is hosted at https://github.com/rasbt/watermark
This project is hosted at https://github.com/rasbt/watermark
The documentation can be found at
https://github.com/rasbt/watermark/blob/master/README.md
"""
The documentation can be found at
https://github.com/rasbt/watermark/blob/master/README.md"""
),
)

0 comments on commit d086295

Please sign in to comment.