Skip to content

Commit

Permalink
Merge pull request #33 from ernavdeepkr/master
Browse files Browse the repository at this point in the history
Move Metadata from setup.py to setup.cfg
  • Loading branch information
digitronik authored Mar 29, 2020
2 parents ec9883e + 61bb018 commit 1475465
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 38 deletions.
41 changes: 41 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
[flake8]
ignore = E128,E811,W503,E203
max-line-length = 100

[metadata]
name = linkstatus
author = Nikhil Dhandre
author_email = nik.digitronik@live.com
license_file = LICENSE
description = Simple text/ markdown links status checker
keywords =
linkstatus
linkchecker
link-checker
markdown
text
linklint
link
url = https://github.com/pythonpune/linkstatus
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Natural Language :: English
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Intended Audience :: End Users/Desktop
Intended Audience :: Developers
Environment :: Console

[options]
packages = find:
zip_safe = False
setup_requires = setuptools_scm
install_requires =
click
markdown
requests
include_package_data = True
python_requires = >=3.5

[options.entry_points]
console_scripts =
linkstatus=linkstatus.linkstatus:main
40 changes: 2 additions & 38 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
from setuptools import find_packages
from setuptools import setup
import setuptools


with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()

install_requirements = ["click", "markdown", "requests"]

setup_requirements = ["setuptools_scm"]

setup(
author="Nikhil Dhandre",
author_email="nik.digitronik@live.com",
classifiers=[
"Natural Language :: English",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Environment :: Console",
],
python_requires=">=3.5",
description="Simple text/ markdown links status checker",
entry_points={"console_scripts": ["linkstatus=linkstatus.linkstatus:main"]},
install_requires=install_requirements,
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
setup_requires=setup_requirements,
use_scm_version=True,
keywords=["linkstatus", "linkchecker", "link-checker", "markdown", "text", "linklint", "link"],
name="linkstatus",
packages=find_packages(include=["linkstatus"]),
url="https://github.com/pythonpune/linkstatus",
license="GPLv3",
zip_safe=False,
)
setuptools.setup(use_scm_version=True,)

0 comments on commit 1475465

Please sign in to comment.