formatting

This commit is contained in:
Frederik Jaeckel 2024-11-21 14:34:17 +01:00
parent 0b2bada596
commit 08b8768dd4
4 changed files with 11 additions and 22 deletions

View file

@ -4,14 +4,10 @@
# this repository contains the full copyright notices and license terms.
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
import re
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
from configparser import ConfigParser
here = path.abspath(path.dirname(__file__))
MODULE = 'account_invoice_xrechnung'
@ -21,7 +17,6 @@ PREFIX = 'mds'
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# tryton.cfg einlesen
config = ConfigParser()
config.readfp(open('tryton.cfg'))
info = dict(config.items('tryton'))
@ -88,9 +83,9 @@ setup(
'Natural Language :: English',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='tryton account invoice xrechnung edocument',