Skip to content

Commit

Permalink
Hot fix for the README on PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
battleoverflow committed Mar 15, 2023
1 parent 9f3f16f commit 62827f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import os
from setuptools import setup

# README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
with open("README.md", "r", encoding = "utf-8") as fh:
README = fh.read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
name='iocextract',
version='1.15.0',
version='1.15.1',
include_package_data=True,
py_modules=['iocextract',],
install_requires=['regex',],
Expand All @@ -24,7 +25,8 @@
},
license='GPL',
description='Advanced Indicator of Compromise (IOC) extractor.',
long_description="README.md",
long_description=README,
long_description_content_type = "text/markdown",
url='https://github.com/InQuest/python-iocextract',
author='InQuest Labs',
author_email='[email protected]',
Expand Down

0 comments on commit 62827f3

Please sign in to comment.