Skip to content

Commit

Permalink
pandoc support in the core
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-johnson committed Nov 1, 2018
1 parent cce49fa commit 56b8d3b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Expand Up @@ -14,6 +14,7 @@ RUN apt-get update \
software-properties-common \
git \
vim \
pandoc \
python3 \
python3-dev \
python3-pip \
Expand Down
18 changes: 12 additions & 6 deletions setup.py
Expand Up @@ -25,6 +25,15 @@ def run_tests(self):
sys.exit(errno)


long_description = ''
try:
import pypandoc
long_description = pypandoc.convert(
'README.rst',
'rst')
except(IOError, ImportError):
long_description = open('README.rst').read()

cur_path, cur_script = os.path.split(sys.argv[0])
os.chdir(os.path.abspath(cur_path))

Expand Down Expand Up @@ -52,6 +61,7 @@ def run_tests(self):
"matplotlib",
"numpy>=1.14.5",
"pandas",
"pypandoc",
"pep8>=1.7.1",
"pipenv",
"pycodestyle<=2.3.1",
Expand Down Expand Up @@ -87,17 +97,13 @@ def run_tests(self):
setup(
name="antinex-core",
cmdclass={"test": PyTest},
version="1.3.8",
version="1.3.9",
description=(
"AntiNex publisher-subscriber core for processing "
"training and prediction requests for deep neural "
"networks to detect network exploits using Keras "
"and Tensorflow in near real-time."),
long_description=(
"AntiNex publisher-subscriber core for processing "
"training and prediction requests for deep neural "
"networks to detect network exploits using Keras "
"and Tensorflow in near real-time."),
long_description=long_description,
author="Jay Johnson",
author_email="jay.p.h.johnson@gmail.com",
url="https://github.com/jay-johnson/antinex-core",
Expand Down

0 comments on commit 56b8d3b

Please sign in to comment.