-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
70 lines (64 loc) · 1.62 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
from os import path
from setuptools import setup, find_packages
# Package meta-data.
NAME = "pogam"
AUTHOR = "Ludovic Tiako"
EMAIL = "[email protected]"
DESCRIPTION = "A web scraper for (French) real estate listings."
URL = "https://github.com/ludaavics/pogam"
REQUIRES_PYTHON = ">=3.8.0"
version = {}
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
readme = f.read()
with open(path.join(here, "LICENSE")) as f:
license = f.read()
with open(path.join(here, NAME, "__version__.py")) as f:
exec(f.read(), version)
version = version["__version__"]
setup(
name=NAME,
version=version,
description=DESCRIPTION,
long_description=readme,
long_description_content_type="text/x-rst",
url=URL,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
install_requires=[
"beautifulsoup4",
"click",
"click-log",
"fake-useragent",
"pytz",
"requests",
"flask-sqlalchemy",
],
extras_require={
"dev": [
"alembic",
"black",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"snapshottest",
"sphinx-autobuild",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinx",
"pipenv-setup",
"httmock",
"ipython",
"boto3",
]
},
entry_points="""
[console_scripts]
pogam=pogam.cli:cli
""",
license=license,
packages=find_packages(),
include_package_data=True,
)