Skip to content

Commit fb5e5c5

Browse files
authored
Merge pull request #8 from johanvergeer/master
Add poetry to publish the package to pypi
2 parents 7100e98 + af8439e commit fb5e5c5

File tree

7 files changed

+155
-4
lines changed

7 files changed

+155
-4
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ docs/_build/
5555

5656
# PyBuilder
5757
target/
58+
59+
.venv
60+

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ row4col1|row4col2|row4col3
143143

144144
### Installation
145145

146-
Add the plugin path to your PLUGINS setting in the pelicanconf.py file.
146+
- When using pip: `pip install pelican-just-table`
147+
- When using poetry: `poetry add pelican-just-table`
148+
- When using pipenv: `pipenv install pelican-just-table`
147149

150+
Now add the plugin the Pelican ª`PLUGINS` setting
148151

149-
150-
```PLUGINS = [... , 'just_table' , ... ]```
152+
```PLUGINS = [... , 'pelican_just_table' , ... ]```
151153

152154

153155
### Configuration

__init__.py

-1
This file was deleted.

pelican_just_table/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .just_table import *
File renamed without changes.

poetry.lock

+125
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[tool.poetry]
2+
name = "pelican-just-table"
3+
version = "0.1.0"
4+
description = "Just table is a plugin for Pelican to create an easily table."
5+
authors = [
6+
"Burak Kose <burakks41@gmail.com>",
7+
"Johan Vergeer <johanvergeer@gmail.com>",
8+
]
9+
license = "GPL"
10+
keywords = ["pelican"]
11+
12+
[tool.poetry.dependencies]
13+
python = "^3.7"
14+
jinja2 = "^2.10"
15+
pelican = "^4.2"
16+
17+
[tool.poetry.dev-dependencies]
18+
19+
[build-system]
20+
requires = ["poetry>=0.12"]
21+
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)