-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from ernavdeepkr/master
Move Metadata from setup.py to setup.cfg
- Loading branch information
Showing
2 changed files
with
43 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,) |