-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
84 lines (66 loc) · 2.69 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the
# PymaciesArg Project (https://github.com/juniors90/PymaciesArg/).
# Copyright (c) 2022, Ferreira Juan David
# License: MIT
# Full Text: https://github.com/juniors90/PymaciesArg/blob/master/LICENSE
# =====================================================================
# DOCS
# =====================================================================
"""This file is for distribute and install PymaciesArg"""
# ======================================================================
# IMPORTS
# ======================================================================
import pathlib
from setuptools import setup # noqa
# =============================================================================
# CONSTANTS
# =============================================================================
PATH = pathlib.Path(__file__).absolute().parent
REQUIREMENTS = ["pandas==1.5.0", "requests==2.28.1"]
with open(PATH / "pymacies_arg" / "__init__.py") as fp:
for line in fp.readlines():
if line.startswith("__version__ = "):
VERSION = line.split("=", 1)[-1].replace('"', "").strip()
break
with open("README.md") as fp:
LONG_DESCRIPTION = fp.read()
source = "https://github.com/juniors90/PymaciesArg"
tracker = "https://github.com/juniors90/PymaciesArg/issues"
donate = "https://www.paypal.com/donate?hosted_button_id=LFAQ7E7TJ4HSY"
funding = "https://paypal.me/juniors90"
# =============================================================================
# FUNCTIONS
# =============================================================================
setup(
name="PymaciesArg",
version=VERSION,
description="An extension that registers all pharmacies in Argentina.", # noqa: E501
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Ferreira Juan David",
author_email="juandavid9a0@gmail.com",
url="https://github.com/juniors90/PymaciesArg",
packages=["pymacies_arg"],
include_package_data=True,
platforms="any",
license="The MIT License",
install_requires=REQUIREMENTS,
keywords=["Pharmacies", "Argentina", "Data Science"],
project_urls={
"Source": source,
"Tracker": tracker,
"Donate": donate,
"Funding": funding,
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)