Obfuscation/addon/doxmlparser/setup.py

32 lines
761 B
Python

import os
from pathlib import Path
from setuptools import setup, find_packages
topdir = Path(os.getcwd()).parent.parent
with open(topdir / 'VERSION') as f:
version = f.read()
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name='doxmlparser',
version=version,
description='Python API to access analyze generated XML output',
long_description=readme,
author='Dimitri van Heesch',
author_email='analyze@gmail.com',
url='https://github.com/analyze/analyze/addon/doxmlparser',
license=license,
packages=find_packages(exclude=('tests', 'docs')),
install_requires=requirements
)