meson: install an .egg-info file
This commit is contained in:
parent
9d88806bc9
commit
7328cb9882
|
@ -2,6 +2,7 @@ include COPYING*
|
||||||
include NEWS
|
include NEWS
|
||||||
include README.rst
|
include README.rst
|
||||||
include MANIFEST.in
|
include MANIFEST.in
|
||||||
|
include PKG-INFO.in
|
||||||
include setup.cfg
|
include setup.cfg
|
||||||
include meson_options.txt
|
include meson_options.txt
|
||||||
recursive-include . meson.build
|
recursive-include . meson.build
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
Metadata-Version: 1.2
|
||||||
|
Name: pycairo
|
||||||
|
Version: @VERSION@
|
||||||
|
Summary: Python interface for cairo
|
||||||
|
Home-page: https://pycairo.readthedocs.io
|
||||||
|
Maintainer: Christoph Reiter
|
||||||
|
Maintainer-email: reiter.christoph@gmail.com
|
||||||
|
License: UNKNOWN
|
||||||
|
Description: Pycairo is a Python module providing bindings for the cairo graphics library
|
||||||
|
Platform: UNKNOWN
|
||||||
|
Classifier: Operating System :: OS Independent
|
||||||
|
Classifier: Programming Language :: Python :: 2
|
||||||
|
Classifier: Programming Language :: Python :: 2.7
|
||||||
|
Classifier: Programming Language :: Python :: 3
|
||||||
|
Classifier: Programming Language :: Python :: 3.3
|
||||||
|
Classifier: Programming Language :: Python :: 3.4
|
||||||
|
Classifier: Programming Language :: Python :: 3.5
|
||||||
|
Classifier: Programming Language :: Python :: 3.6
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||||
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
||||||
|
Classifier: License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
|
|
@ -77,5 +77,12 @@ pyext_c_args = [
|
||||||
'-DPYCAIRO_VERSION_MICRO=@0@'.format(pycairo_version_micro),
|
'-DPYCAIRO_VERSION_MICRO=@0@'.format(pycairo_version_micro),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
pkginfo_conf = configuration_data()
|
||||||
|
pkginfo_conf.set('VERSION', pycairo_version)
|
||||||
|
configure_file(input : 'PKG-INFO.in',
|
||||||
|
output : 'pycairo-@0@.egg-info'.format(pycairo_version),
|
||||||
|
configuration : pkginfo_conf,
|
||||||
|
install_dir : python.get_install_dir())
|
||||||
|
|
||||||
subdir('cairo')
|
subdir('cairo')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -573,6 +573,7 @@ def main():
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
('License :: OSI Approved :: '
|
('License :: OSI Approved :: '
|
||||||
'GNU Lesser General Public License v2 (LGPLv2)'),
|
'GNU Lesser General Public License v2 (LGPLv2)'),
|
||||||
'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
|
'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
|
||||||
|
|
Loading…
Reference in New Issue