Skip to content

Commit 1475465

Browse files
authored
Merge pull request #33 from ernavdeepkr/master
Move Metadata from setup.py to setup.cfg
2 parents ec9883e + 61bb018 commit 1475465

File tree

2 files changed

+43
-38
lines changed

2 files changed

+43
-38
lines changed

setup.cfg

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
11
[flake8]
22
ignore = E128,E811,W503,E203
33
max-line-length = 100
4+
5+
[metadata]
6+
name = linkstatus
7+
author = Nikhil Dhandre
8+
author_email = [email protected]
9+
license_file = LICENSE
10+
description = Simple text/ markdown links status checker
11+
keywords =
12+
linkstatus
13+
linkchecker
14+
link-checker
15+
markdown
16+
text
17+
linklint
18+
link
19+
url = https://github.com/pythonpune/linkstatus
20+
long_description = file: README.md
21+
long_description_content_type = text/markdown
22+
classifiers =
23+
Natural Language :: English
24+
Programming Language :: Python :: 3.5
25+
Programming Language :: Python :: 3.6
26+
Programming Language :: Python :: 3.7
27+
Intended Audience :: End Users/Desktop
28+
Intended Audience :: Developers
29+
Environment :: Console
30+
31+
[options]
32+
packages = find:
33+
zip_safe = False
34+
setup_requires = setuptools_scm
35+
install_requires =
36+
click
37+
markdown
38+
requests
39+
include_package_data = True
40+
python_requires = >=3.5
41+
42+
[options.entry_points]
43+
console_scripts =
44+
linkstatus=linkstatus.linkstatus:main

setup.py

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,3 @@
1-
from setuptools import find_packages
2-
from setuptools import setup
1+
import setuptools
32

4-
5-
with open("README.md", encoding="utf-8") as readme_file:
6-
readme = readme_file.read()
7-
8-
install_requirements = ["click", "markdown", "requests"]
9-
10-
setup_requirements = ["setuptools_scm"]
11-
12-
setup(
13-
author="Nikhil Dhandre",
14-
author_email="[email protected]",
15-
classifiers=[
16-
"Natural Language :: English",
17-
"Programming Language :: Python :: 3.5",
18-
"Programming Language :: Python :: 3.6",
19-
"Programming Language :: Python :: 3.7",
20-
"Intended Audience :: End Users/Desktop",
21-
"Intended Audience :: Developers",
22-
"Environment :: Console",
23-
],
24-
python_requires=">=3.5",
25-
description="Simple text/ markdown links status checker",
26-
entry_points={"console_scripts": ["linkstatus=linkstatus.linkstatus:main"]},
27-
install_requires=install_requirements,
28-
long_description=readme,
29-
long_description_content_type="text/markdown",
30-
include_package_data=True,
31-
setup_requires=setup_requirements,
32-
use_scm_version=True,
33-
keywords=["linkstatus", "linkchecker", "link-checker", "markdown", "text", "linklint", "link"],
34-
name="linkstatus",
35-
packages=find_packages(include=["linkstatus"]),
36-
url="https://github.com/pythonpune/linkstatus",
37-
license="GPLv3",
38-
zip_safe=False,
39-
)
3+
setuptools.setup(use_scm_version=True,)

0 commit comments

Comments
 (0)