-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (49 loc) · 1.94 KB
/
setup.py
File metadata and controls
52 lines (49 loc) · 1.94 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
import setuptools
# read the contents of your README file
# from pathlib import Path
# this_directory = Path(__file__).parent
# long_description = (this_directory / "readme.md").read_text()
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="ip2location-python-csv-converter",
version="1.4.0",
description="Python script to converts IP2Location CSV database into IP range or CIDR format.",
long_description_content_type="text/markdown",
long_description=long_description,
# py_modules=['ip2location-csv-converter'],
author="IP2Location",
author_email="support@ip2location.com",
url="https://github.com/ip2location/ip2location-python-csv-converter",
license='MIT',
keywords='IP2Location Geolocation',
project_urls={
'Official Website': 'https://www.ip2location.com',
},
python_requires='>=3.5, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
entry_points = {
'console_scripts': ['ip2location-csv-converter=ip2location_csv_converter.commandline:main'],
},
packages=setuptools.find_packages(),
install_requires=[
"pyarrow>=10.0.0",
"pandas>=1.0.0"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)