<reponame>rsanchezgarc/argParseFromDoc
import os

import setuptools
from setuptools import setup

VERSION="0.0.1"

def readme():
  readmePath = os.path.abspath(os.path.join(__file__, "..", "README.md"))
  try:
    with open(readmePath) as f:
      return f.read()
  except UnicodeDecodeError:
    try:
      with open(readmePath, 'r', encoding='utf-8') as f:
        return f.read()
    except Exception as e:
      return "Description not available due to unexpected error: "+str(e)


install_requires = [
  'docstring-parser==0.12'
]

setup(name='argParseFromDoc',
      version=VERSION,
      description='Simple argument parser for documented functions',
      long_description=readme(),
      long_description_content_type="text/markdown",
      keywords='argument parser ArgParser docstring argparse',
      url='https://github.com/rsanchezgarc/argParseFromDoc',
      author='<NAME>',
      author_email='<EMAIL>',
      license='Apache 2.0',
      packages=setuptools.find_packages(),
      install_requires=install_requires,
      dependency_links=[],
      include_package_data=True,
      zip_safe=False
)


import os

import setuptools
from setuptools import setup

VERSION="0.0.1"

def readme():
  readmePath = os.path.abspath(os.path.join(__file__, "..", "README.md"))
  try:
    with open(readmePath) as f:
      return f.read()
  except UnicodeDecodeError:
    try:
      with open(readmePath, 'r', encoding='utf-8') as f:
        return f.read()
    except Exception as e:
      return "Description not available due to unexpected error: "+str(e)


install_requires = [
  'docstring-parser==0.12'
]

setup(name='argParseFromDoc',
      version=VERSION,
      description='Simple argument parser for documented functions',
      long_description=readme(),
      long_description_content_type="text/markdown",
      keywords='argument parser ArgParser docstring argparse',
      url='https://github.com/rsanchezgarc/argParseFromDoc',
      author='<NAME>',
      author_email='<EMAIL>',
      license='Apache 2.0',
      packages=setuptools.find_packages(),
      install_requires=install_requires,
      dependency_links=[],
      include_package_data=True,
      zip_safe=False
)