-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
37 lines (31 loc) · 1.08 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
import os
from setuptools import setup
print(
os.path.join(os.getcwd(), "requirements.txt"),
os.listdir(),
"requirements.txt" in os.listdir(),
)
with open(os.path.join(os.getcwd(), "README.md"), "r", encoding="utf-8") as fh:
long_description = fh.read()
# pip-compile requirements.in -> requirements.txt
with open(os.path.join(os.getcwd(), "requirements.txt")) as f:
required = f.read().splitlines()
# pip-compile requirements-dev.in -> requirements-dev.txt
with open(os.path.join(os.getcwd(), "requirements-dev.txt")) as f:
dev_required = f.read().splitlines()
setup(
name="edwh-ghost",
version="0.1.10",
description="Python client for Ghost API v3/v4/v5",
url="https://github.com/educationwarehouse/edwh-ghost",
author="Education Warehouse",
author_email="remco.b@educationwarehouse.nl",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=["ghost"],
zip_safe=False,
python_requires=">=3.7",
install_requires=required,
extras_require={"dev": dev_required},
)