setup.cfg 1.56 KB
Newer Older
Ole Streicher's avatar
Ole Streicher committed
1 2
[metadata]
name = pyraf
3
version = 2.1.15
4
author = Rick White, Perry Greenfield, Chris Sontag
Ole Streicher's avatar
Ole Streicher committed
5 6
author-email = help@stsci.edu
home-page = http://www.stsci.edu/resources/software_hardware/pyraf
7
summary = Provides a Pythonic interface to IRAF that can be used in place of the existing IRAF CL
8 9
description-file = README.rst
requires-python = >=2.7
Ole Streicher's avatar
Ole Streicher committed
10 11 12 13 14 15 16 17 18 19
classifier = 
	Intended Audience :: Science/Research
	License :: OSI Approved :: BSD License
	Operating System :: OS Independent
	Programming Language :: Python
	Topic :: Scientific/Engineering :: Astronomy
	Topic :: Software Development :: Libraries :: Python Modules

[files]
packages_root = lib
20 21 22
packages = 
	pyraf
	pyraf.old_files
Ole Streicher's avatar
Ole Streicher committed
23 24 25 26 27
data_files = 
	pyraf = data/blankcursor.xbm data/epar.optionDB data/pyraflogo_rgb_web.gif data/ipythonrc-pyraf
	pyraf/clcache = data/clcache/*
scripts = scripts/pyraf

28
[extension=pyraf.sscanf]
Ole Streicher's avatar
Ole Streicher committed
29
sources = src/sscanfmodule.c
Ole Streicher's avatar
Ole Streicher committed
30 31
optional = True
fail_message = If this is Windows, it is ok.
Ole Streicher's avatar
Ole Streicher committed
32

33
[extension=pyraf.xutil]
Ole Streicher's avatar
Ole Streicher committed
34
sources = src/xutil.c
Ole Streicher's avatar
Ole Streicher committed
35
libraries = X11
Ole Streicher's avatar
Ole Streicher committed
36 37 38 39 40 41

[global]
setup_hooks = 
	stsci.distutils.hooks.use_packages_root
	stsci.distutils.hooks.version_setup_hook
	pyraf_setup.setup_hook
Ole Streicher's avatar
Ole Streicher committed
42
commands = stsci.distutils.command.build_optional_ext.build_optional_ext
Ole Streicher's avatar
Ole Streicher committed
43 44 45 46 47 48 49

[install_data]
pre-hook.glob-data-files = stsci.distutils.hooks.glob_data_files

[build_ext]
pre-hook.pyraf-buildext-hook = pyraf_setup.build_ext_hook

50 51 52 53 54 55 56 57
[tool:pytest]
minversion = 3.0
addopts = --capture=sys
norecursedirs = old_files

[flake8]
ignore = E111,E221,E225,E226,E231,E241,E251,E261,E265,E301,E302,E305,E401,E402,E501,E701

Ole Streicher's avatar
Ole Streicher committed
58 59 60 61
[egg_info]
tag_build = 
tag_date = 0