-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (46 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
import setuptools
NAME = "ntp_pool_score"
DESCRIPTION = "Retrieve the NTP pool score for a server"
URL = "https://www.github.com/rmcintosh/ntp_pool_score"
EMAIL = "[email protected]"
AUTHOR = "Richie McIntosh"
REQUIRES_PYTHON = ">=3.8.0"
VERSION = "0.1"
LICENSE = "MIT"
REQUIRES = [
"beautifulsoup4>=4.8.0",
"bs4>=0.0.1",
"certifi>=2019.6.16",
"chardet>=3.0.4",
"idna>=2.8",
"requests>=2.22.0",
"soupsieve>=1.9.3",
"urllib3>=1.25.3"
]
TESTS_REQUIRE = ["nose"]
here = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setuptools.setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
url=URL,
author=AUTHOR,
author_email=EMAIL,
license=LICENSE,
packages=setuptools.find_packages(exclude=["tests"]),
zip_safe=False,
install_requires=REQUIRES,
python_requires=REQUIRES_PYTHON,
tests_require=TESTS_REQUIRE
)