Skip to content

Commit

Permalink
fixing pypi documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronos committed May 9, 2018
1 parent 040c951 commit 2c892a7
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
from setuptools import setup, find_packages


version = "2018.5.1"

try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description="""
This package is intended to make creating and/or parsing packets (structured bytecode) on the fly quick and easy. This is a wrapper around
the .. _ctypes module: https://docs.python.org/dev/library/ctypes.html built-in to python. This package is designed
with influence from Django's modeling and will look familiar to those that have used it.
"""
version = "2018.5.2"

with open('README.md', 'r') as readme:
long_description = readme.read()

setup(
name='calpack',
version=version,
description='Packets in Python made Simple',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/KronosKoderS/CalPack',
download_url='https://github.com/KronosKoderS/CalPack/tarball/v' + version,
author='KronoSKoderS',
Expand Down

0 comments on commit 2c892a7

Please sign in to comment.