Пример #1
0
import versioneer
from setup_utils import (CMDCLASS, get_setup_requires, get_scripts)

__version__ = versioneer.get_version()

PEP_508 = LooseVersion(setuptools_version) >= '20.2.2'

# read description
with open('README.md', 'rb') as f:
    longdesc = f.read().decode().strip()

# -- dependencies -------------------------------------------------------------

# build dependencies
setup_requires = get_setup_requires()

# runtime dependencies
install_requires = [
    'astropy >= 1.3.0, < 3.0.0 ; python_version < \'3.5\'',
    'astropy >= 1.3.0 ; python_version >= \'3.5\'',
    'dqsegdb2',
    'enum34 ; python_version < \'3.4\'',
    'gwdatafind',
    'gwosc >= 0.4.0',
    'h5py >= 1.3',
    'ligo-segments >= 1.0.0',
    'ligotimegps >= 1.2.1',
    'matplotlib >= 1.2.0, != 2.1.0, != 2.1.1',
    'numpy >= 1.7.1',
    'pathlib ; python_version < \'3.4\'',
Пример #2
0
Файл: setup.py Проект: gwpy/gwpy
import versioneer
from setup_utils import (CMDCLASS, get_setup_requires, get_scripts)

__version__ = versioneer.get_version()

PEP_508 = LooseVersion(setuptools_version) >= '20.2.2'

# read description
with open('README.md', 'rb') as f:
    longdesc = f.read().decode().strip()

# -- dependencies -------------------------------------------------------------

# build dependencies
setup_requires = get_setup_requires()

# runtime dependencies
install_requires = [
    'astropy >= 1.1.1, < 3.0.0 ; python_version < \'3.5\'',
    'astropy >= 1.1.1 ; python_version >= \'3.5\'',
    'dqsegdb2',
    'enum34 ; python_version < \'3.4\'',
    'gwdatafind',
    'gwosc >= 0.4.0',
    'h5py >= 1.3',
    'ligo-segments >= 1.0.0',
    'ligotimegps >= 1.2.1',
    'matplotlib >= 1.2.0, != 2.1.0, != 2.1.1',
    'numpy >= 1.7.1',
    'pathlib ; python_version < \'3.4\'',