Debian Codegraph @

addon/doxmlparser/setup.py

raw
1 import os
2
3 from pathlib import Path
4 from setuptools import setup, find_packages
5
6 topdir = Path(os.getcwd()).parent.parent
7
8 with open(topdir / 'VERSION') as f:
9 version = f.read()
10
11 with open('README.md') as f:
12 readme = f.read()
13
14 with open('LICENSE') as f:
15 license = f.read()
16
17 with open('requirements.txt') as f:
18 requirements = f.read().splitlines()
19
20 setup(
21 name='doxmlparser',
22 version=version,
23 description='Python API to access doxygen generated XML output',
24 long_description=readme,
25 author='Dimitri van Heesch',
26 author_email='[email protected]',
27 url='https://github.com/doxygen/doxygen/addon/doxmlparser',
28 license=license,
29 packages=find_packages(exclude=('tests', 'docs')),
30 install_requires=requirements
31 )