2 from setuptools
import setup
, find_packages
6 with
open('web/lib/version.inc.php', 'r') as f
:
7 for line
in f
.readlines():
8 match
= re
.match(r
'^define\("AURWEB_VERSION", "v([0-9.]+)"\);$', line
)
10 version
= match
.group(1)
13 sys
.stderr
.write('error: Failed to parse version file!')
19 packages
=find_packages(),