Skip to content

Commit

Permalink
Fixed package build for pip installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Tessaro committed Jul 15, 2018
1 parent 92b5ba3 commit de92066
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -30,7 +30,7 @@ The GitLab/GitHub block syntax is also recognized. Example:
Goofy <-- MickeyMouse: responds
```

Options are optional, but if present must be specified in the order `format`, `classes`, `alt`, `title`.
Options are optional (otherwise the wouldn't be options), but if present must be specified in the order `format`, `classes`, `alt`, `title`.
The option value may be enclosed in single or double quotes.

Installation
Expand All @@ -50,8 +50,9 @@ For [Gentoo Linux][Gentoo] there is an ebuild at http://gpo.zugaina.org/dev-util
the ebuild and the `files` subfolder or you can add the `zugaina` repository with [layman][]
(reccomended).

To use the plugin with [Python-Markdown][] you have two choices:
To use the plugin with [Python-Markdown][] you have three choices:

* do a simple `pip install plantuml-markdown`, and the plugin should be ready to be used
* copy the file `plantuml.py` in the `extensions` folder of [Python-Markdown][]. For example, for Python 2.7 you must
do:

Expand Down
20 changes: 13 additions & 7 deletions setup.py
@@ -1,26 +1,32 @@
import setuptools
from os import path


with open("README.md", "r") as fh:
long_description = fh.read()
here = path.abspath(path.dirname(__file__))

with open(path.join(here, "README.md"), "r") as f:
long_description = f.read()

setuptools.setup(
name="plantuml-markdown",
version="1.2.3",
version="1.2.4",
author="Michele Tessaro",
author_email="michele.tessaro@email.it",
description="A PlantUML plugin for Markdown",
long_description=long_description,
long_description_content_type="text/markdown",
keywords = ['Markdown', 'typesetting', 'include', 'plugin', 'extension'],
url="https://github.com/mikitex70/plantuml-markdown",
packages=setuptools.find_packages(),
packages=['.'],
install_requires=['Markdown'],
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 6 - Mature",
"Environment :: Plugins",
"Topic :: Text Processing"
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Markup :: HTML"
],
)

0 comments on commit de92066

Please sign in to comment.