-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (56 loc) · 1.84 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#! /usr/bin/env python
##########################################################################
# pySAP - Copyright (C) CEA, 2018
# Distributed under the terms of the CeCILL-B license, as published by
# the CEA-CNRS-INRIA. Refer to the LICENSE file or to
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
# for details.
##########################################################################
# System import
import os
from pathlib import Path
from setuptools import setup, find_packages
# Set the package release version
major = 0
minor = 0
patch = 3
version = '.'.join(str(value) for value in (major, minor, patch))
# Global parameters
CLASSIFIERS = [
'Development Status :: 1 - Planning',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering']
AUTHOR = """
Antoine Grigis <[email protected]>
Samuel Farrens <[email protected]>
Jean-Luc Starck <[email protected]>
Philippe Ciuciu <[email protected]>
"""
# Source package description from README.md
this_directory = Path(__file__).parent
long_description = (this_directory / 'README.rst').read_text()
# Write setup
setup(
name='pysap-astro',
description='Python Sparse data Analysis Package external ASTRO plugin.',
long_description=long_description,
long_description_content_type='text/x-rst',
license='CeCILL-B',
classifiers='CLASSIFIERS',
author=AUTHOR,
author_email='[email protected]',
version=version,
url='https://github.com/CEA-COSMIC/pysap-astro',
packages=find_packages(),
platforms='OS Independent',
install_requires=['sf_tools>=2.0.4'],
setup_requires=['pytest-runner', ],
tests_require=[
'pytest>=6.2.2',
'pytest-cov>=2.11.1',
'pytest-pycodestyle>=2.2.0',
'pytest-pydocstyle>=2.2.0',
],
)