-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.47 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import io
from setuptools import setup, find_packages
with io.open("README.rst", encoding="utf-8") as readme_file, io.open(
"HISTORY.rst", encoding="utf-8"
) as history_file:
long_description = readme_file.read() + "\n\n" + history_file.read()
install_requires = ["click>=6.0", "requests", "chardet"]
setup_requires = ["pytest-runner"]
tests_requires = [
"pytest",
# TODO: put package test requirements here
]
setup(
name="ipgetter2",
version="1.1.11",
description="Utility to fetch your external IP address",
long_description=long_description,
author="Hong-She Liang",
author_email="starofrainnight@gmail.com",
url="https://github.com/starofrainnight/ipgetter2",
packages=find_packages(),
entry_points={"console_scripts": ["ipgetter2=ipgetter2.__main__:main"]},
include_package_data=True,
install_requires=install_requires,
license="Apache Software License",
zip_safe=False,
keywords="ipgetter2",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
test_suite="tests",
tests_require=tests_requires,
setup_requires=setup_requires,
)