forked from tomas-net/ip2geotools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (54 loc) · 2.16 KB
/
setup.py
File metadata and controls
61 lines (54 loc) · 2.16 KB
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
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import io
import os
from setuptools import setup, find_packages
import ip2geotools
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
readme = '\n' + f.read()
with io.open(os.path.join(here, 'LICENSE'), encoding='utf-8') as f:
license = '\n' + f.read()
with io.open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requirements = [i.strip() for i in f.readlines()]
setup(
name='ip2geotools',
version=ip2geotools.__version__,
description=ip2geotools.__description__,
long_description=readme,
author=ip2geotools.__author__,
author_email=ip2geotools.__author_email__,
url=ip2geotools.__url__,
download_url=ip2geotools.__url__ + '/archive/' + ip2geotools.__version__ + '.tar.gz',
packages=find_packages(exclude=['docs', 'tests', 'tests.*']),
package_data={'': ['LICENSE']},
package_dir={'ip2geotools': 'ip2geotools'},
install_requires=requirements,
include_package_data=True,
test_suite="tests",
license=ip2geotools.__license__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Utilities',
],
entry_points={
'console_scripts': ['ip2geotools=ip2geotools.cli:execute_from_command_line'],
},
)