Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d2a24537 authored by GD's avatar GD
Browse files

manage package version in a dedicated file

parent da7e1e26
No related branches found
No related tags found
No related merge requests found
include README.md
include LICENSE.txt
include version
recursive-include spams_wrap *.h
recursive-include spams_wrap *.cpp
......
......@@ -186,19 +186,27 @@ def mkhtml(d=None, base='sphinx'):
return l
# project root directory
this_directory = os.path.abspath(os.path.dirname(__file__))
# version number
with open(os.path.join(this_directory, "version"), encoding="utf-8") as v:
current_version = v.read().rstrip()
# package description
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# setup config
opts = dict(
name='spams',
version='2.6.3.0',
version=current_version,
description='Python interface for SPAMS',
long_description=long_description,
long_description_content_type='text/markdown',
author='Julien Mairal',
author_email='spams.dev@inria.fr',
url='http://spams-devel.gforge.inria.fr/',
url='https://thoth.inrialpes.fr/people/mairal/spams/',
license='GPLv3',
python_requires='>=3',
install_requires=['Cython>=0.29', 'numpy>=1.12',
......
2.6.3.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment