Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/astropy/extension-helpers

Helpers to assist with building Python packages with compiled C/Cython extensions
https://github.com/astropy/extension-helpers

Merge pull request #205 from embray/build-ext-fix

Partial workaround for #204

7cb34c15249c40ec768b3f95d6b6888f38b017b0 authored about 9 years ago by Erik Bray <[email protected]>
Workaround for #172, which is caused by an upstream bug in Sphinx. Because the bug is present in Sphinx 1.3.1, but is fixed in its master branch, we presume the next release of Sphinx will include the fix and this patch won't be needed.

44af878b12a9bb12a9546ddf5b65fef0c1103f4d authored about 9 years ago by Erik M. Bray <[email protected]>
Explicitly include 'object' in _DummyCommand's bases on Python 3 as well

06efb79bc060deec37f957706fbf54345d2d76b2 authored about 9 years ago by Erik M. Bray <[email protected]>
Always uses the original build_ext command from setuptools

as the base class for build_ext, so that standard build_ext
command line options are always recog...

ab34a7615ed86d7cc162d85647b8e516d82c224b authored about 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #76 from embray/issue-76

Compiler check should be skipped for pure-Python packages

961efca55fa86f9891e5318d490c3ba185ed6a29 authored about 9 years ago by Erik Bray <[email protected]>
Merge pull request #127 from embray/issue-127

Get tests working on py.test 2.6

8c697c6fe5e269e91c5a365ff66ad9c5046543c2 authored about 9 years ago by Erik Bray <[email protected]>
Finishing v1.1rc1 release

1119de06cf987c9c8836082f37c621c924b18f5f authored about 9 years ago by Thomas Robitaille <[email protected]>
Preparing to release v1.1rc1

1ac98cd9682acc96fbb03bcda2d47cd720de3ce7 authored about 9 years ago by Thomas Robitaille <[email protected]>
More recent versions of py.test seem to be working so we can probably go ahead and remove this restriction

671f123785caf5500c6280f8d07fa85e130956d4 authored about 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #202 from embray/issue-202

DistutilsClassError - astropy_helpers.setup_helpers.test must provide user_options

bd2b0372a28d5e6eae95448aca2d4947a8a70091 authored about 9 years ago by Erik Bray <[email protected]>
Fixes #76 by moving the contents of adjust_compiler into the build_ext command itself. This way it doesn't run unless an extension module actually has to be compiled. Looking back to the issues where the adjust_compiler was originally added, I don't think it really needs to happen any sooner than it does here. The original adjust_compiler function becomes a no-op and is deprecated. It can be removed from any setup.py that uses it (and has the updated astropy_helpers)

00519d2f6a7c22ba4c174cf888770fe426fc7346 authored about 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #199 from dpshelio/doctestOut

making sure run commands returns 1 if fails

775e9ae652dd4c41e5b0ff7bc8ca5c60508c47c4 authored about 9 years ago by Erik M. Bray <[email protected]>
Adds changelog entry for #199 [skip ci]

ad55a5f1f4dc18ccdbf52744b99bc5db870af2a5 authored about 9 years ago by Erik M. Bray <[email protected]>
Should fix #202. Turns out that on Python 2, hasattr returns False upon _any_ exception, whereas on Python 3 it returns False only when AttributeError is raised, and allows any other exception to bubble up. By casting a wider net this seems to get the job done for both Python 2 and 3.

bd8818c9fe04ad769fb96e7c23f242cf50945090 authored about 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #203 from bsipocz/travis_fix_miniconda_path

Updating .travis to reflect recent miniconda changes

44f37548edcd51703ae888d5770f2c9621ee7e49 authored about 9 years ago by Erik Bray <[email protected]>
Updating .travis to reflect recent miniconda changes

5e2e8100c5d40b565a4703ae514eda23f05c08ea authored about 9 years ago by Brigitta Sipocz <[email protected]>
making sure run commands returns 1 if fails

ddfca62a196a68cb40dccb2a0407d6917c60bcd1 authored about 9 years ago by David PS <[email protected]>
Finishing v1.1b1 release

1fd3cd09e15f9c47879703b485b11f3b48d8a323 authored about 9 years ago by Erik M. Bray <[email protected]>
Preparing to release v1.1b1

c80461c12793099a34862b8c5dd72f27ced4c2bc authored about 9 years ago by Erik M. Bray <[email protected]>
Added a changelog entry for #42

543e7eb4936a6f3dba33e729dd5ffcb977f06f53 authored about 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #42 from astrofrog/recursive-glob

Added a new ``list_data_files`` function that can be used to search for files recursively

e628e3454742862dc0e057a48f378e278e911b9a authored about 9 years ago by Erik Bray <[email protected]>
Fix test on Windows

738200ef5132d9b8acace93ca4af894a467aef76 authored about 9 years ago by Thomas Robitaille <[email protected]>
Added unit test and fixed issue with files not in sub-directories

a61c644eb2f75bc1b6cd94458375692c441fbd78 authored about 9 years ago by Thomas Robitaille <[email protected]>
Switch to using Python 3.5 recursive glob syntax

d282ab251f0c3f0c692f9cbd76dfbf1970a00fca authored about 9 years ago by Thomas Robitaille <[email protected]>
Fix typo

ca5d6c78b44f10994a2c91312783c99b19048ad4 authored about 9 years ago by Thomas Robitaille <[email protected]>
Rename to find_data_files

2794c06e2a341454f96bc3fb16d81d005c03d6d6 authored about 9 years ago by Thomas Robitaille <[email protected]>
Added a new ``list_data_files`` function that can be used to search for files recursively.

5dfcf4ce2b15b9650271f14251953b168ea7b033 authored about 9 years ago by Thomas Robitaille <[email protected]>
Merge pull request #185 from embray/late-cython

Add Cython support to the build_ext command late in the setup process

078358ea7c585301299246d9afe23ad2567dd36f authored about 9 years ago by Erik Bray <[email protected]>
Added changelog updates from v1.0.5 release

e5a2f2912fa8ad22b82c0ff5ea7ab47ff541f82f authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #196 from astrofrog/fix-undefined

Fix undefined usage of ‘six’

b5bdbb3e95ea13d8f020ac024092ee27d2d02886 authored over 9 years ago by Erik Bray <[email protected]>
Fix undefined usage of ‘six’

9ecd1b8c8bb68220833a8df4970ea04a83d5fd8a authored over 9 years ago by Thomas Robitaille <[email protected]>
Merge pull request #193 from embray/coveragerc

Adds a coveragerc file

8888a23d23fac0b8c8270cc1e0b7ef115c0029f3 authored over 9 years ago by Erik Bray <[email protected]>
Marking v1.0.4 released

79731fb1856a966b6ed53c9be1da233514a76da0 authored over 9 years ago by Erik M. Bray <[email protected]>
But of course readlink takes completely different arguments on OSX, *because*. pwd should work, instead...

c938efcefb365885fb756d226e588ea07e5aa2f7 authored over 9 years ago by Erik M. Bray <[email protected]>
Use full path to coveragerc to work around pytest-cov bug

8523844fb4fb498907709371a4a080f1d57656d3 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #194 from embray/osx-tmpdir-fix

Fix py.test rootdir on OSX

01a97a2765271006ccc270e9e836891ebf4c7093 authored over 9 years ago by Erik Bray <[email protected]>
Provides an actual fix for #192, which didn't fix the issue at all and in fact completely broke the test command. I was having a bad day that day and wasn't really with it...

b0cfbc14b336e801049aa3262650b1e6b7ddbd55 authored over 9 years ago by Erik M. Bray <[email protected]>
This is a followup to #189 needed for things to work properly in OSX, where tempfile.mkdtemp does *not* return a real path.

09bcd261e5bcc89fa1376c3d71076bacd56caea8 authored over 9 years ago by Erik M. Bray <[email protected]>
Add a coveragerc to tweak the coverage report somewhat. Excludes a few files from the report (not making a huge impact on the overall coverage score, but the rest are things that should be tested...

a254a86be5a40fe6d2d00ff55d25c361fc3b2a60 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #192 from embray/fix-testing-verbosity

Fixed a regression introduced by by #184 that caused testing to always default to verbose results

9213bfa37a122347f43063b8b8a85ff28eaacebe authored over 9 years ago by Erik Bray <[email protected]>
Added changelog entry for #185

262ac5b0ac46d5b065c49489f73e0c7cc66836d9 authored over 9 years ago by Erik M. Bray <[email protected]>
This makes it possible to build extension modules using Cython even if Cython was not available at the beginning of the setup.py script. This means that Cython can be added as a build-time dependency in setup_requires, and still be used later in the build process if it was installed locally via setup_requires.

4c0287e20f517c3a7f8745330c6bfe0902b86ba8 authored over 9 years ago by Erik M. Bray <[email protected]>
Fixed a regression introduced by by #184 that caused testing to always default to verbose results

9af2b44827b405c97dc1951ca716a8892f4952e4 authored over 9 years ago by Erik M. Bray <[email protected]>
Followup to 7c427d8892f0bb4c99a9f5659aa3e8964a92d9c6, which didn't quite get it right

c1e28c72168461b530a909ce928e786551b0034f authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #190 from embray/fix-rootdir-issue-2

Port #189 to master

8f2056d22273d91473d797c36bd724fde3355af8 authored over 9 years ago by Erik Bray <[email protected]>
This now copies the docs for testing into the temp dir, and ensures that the setup.cfg is in the common root directory for the Python files and the docs. This ensures that in py.test >= 2.7 the correct common test directory can be found as the 'rootdir'. Seems to work fine with older versions of py.test as well (down to 2.4).

66158106c4301fd8f19f7b9f9ee4752924eb6388 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #191 from astropy/fix-astropy-import-issue

Fix astropy import before _ASTROPY_SETUP_ is set

63767415493eb46abb2b3eac8172f9de75c8416e authored over 9 years ago by Erik Bray <[email protected]>
Mention #191 in the changelog--although it's a workaround to a regression, the workaround itself is a change in behavior (and one might argue an enhancement) worth nothing. [skip ci]

d336aa3fabc16458288ee7abceeac7fe5a154a0d authored over 9 years ago by Erik M. Bray <[email protected]>
Whoa now, don't *always* do this--only when we're actually running setup.py

7c427d8892f0bb4c99a9f5659aa3e8964a92d9c6 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #188 from embray/test-temp-root-master

Adds an option to set the base directory for temporary test files

5f0f4a1924e04377ddeee2814a65e9eef45e3e5e authored over 9 years ago by Erik Bray <[email protected]>
Catch broad class of exceptions when attempting to import from astropy.tests--I found at least one case where, on older versions of Astropy, that 'import astropy.tests' results in loading the bundled pytest which fails for some reason.

2f58cbeeb21911716b96ddb37f43ac3140b4bb8f authored over 9 years ago by Erik M. Bray <[email protected]>
Ensure that the _ASTROPY_SETUP_ global is set by astropy_helpers too, so that any attempt to import astropy from within astropy_helpers code does not cause things to go haywire.

cd0f1b2f575cdc4e2dbf41f9b73f7e83ec7cd1ef authored over 9 years ago by Erik M. Bray <[email protected]>
Adds an option to set the base directory for temporary test files

(ports #187 to master)

Conflicts:
astropy_helpers/test_helpers.py

89427a04503dd71e7e39f94a36adf832b15f1a72 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #184 from embray/test-command-refactor

Test command refactor

d3fb5482647eb594d360d5645faf32aa552cbc28 authored over 9 years ago by Erik Bray <[email protected]>
Change the warning message, since this will only affect v1.1 and up [skip ci]

6f6bfbd7d627b518be830567a36b89a0859b4974 authored over 9 years ago by Erik M. Bray <[email protected]>
Adds a changelog entry for this change [skip ci]

327bc9aedc388c0b395feb4fe3359c1d2dba1bd7 authored over 9 years ago by Erik M. Bray <[email protected]>
Add silly missing import (something about all this feels oddly familiar--like I already did this a few weeks ago...)

293a42d3eda7219daba63fb95746c43d9ffdd135 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #186 from embray/fix-183

Followup to #183 to fix building with MSVC

7cbee4a38eba8d866705ac11659dfdf007cc9457 authored over 9 years ago by Erik Bray <[email protected]>
Followup to #183 to fix building with MSVC (which I haven't targeted, for now, in terms of silencing warning output)

8cd4ca02ac4c08a911a6becc19967a24f800f9f0 authored over 9 years ago by Erik M. Bray <[email protected]>
Deprecate the test_helpers module (this was more of a holdover from older versions of Astropy anyways). Add multiple ways of getting a ./setup.py test command compatible with different versions of astropy (or lack of astropy).

a36c88ed016dd9518c75e6313875d56a237e343c authored over 9 years ago by Erik M. Bray <[email protected]>
Fix for the issue I originally mentioned in https://github.com/astropy/astropy-helpers/issues/73#issuecomment-72558556; this is just a matter of porting the change originally made in 1068e261d292814156e6c21f4f1f0a97dcffacc3 to work in the v1.0 release series.

507370b399139e6d320d74fa1bb8da3afeb5c67e authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #183 from embray/cython-numpy-warnings

Squelch Numpy deprecation warnings when building Cython extensions

d86a1461b2883f96bbe5bb9f4e7b7cb1efa59844 authored over 9 years ago by Erik Bray <[email protected]>
Add changelog entry for #183 [skip ci]

1cb7d6e6e86a3ea24932b1e3cd6f62d97bf7cf6e authored over 9 years ago by Erik M. Bray <[email protected]>
Squelch warnings from Numpy headers related to use of deprecated API, which occurs in Cython extensions which still require use of older Numpy API features.

3469450f70b069fe30a3569946ffc9f900fe663e authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #181 from embray/fix-error-formatting-issue

Fixed malformatting of an error message

0352ed1533d3cc1fdd373e4d3a32f519e55a86bf authored over 9 years ago by Erik Bray <[email protected]>
Add changelog entry for #181 [skip ci]

fb0e5c8190b57d3a6907916b3f04a2965394cb16 authored over 9 years ago by Erik M. Bray <[email protected]>
Fix test to work on Windows, because of course

32bc59efe2aa2c622fdc88bb34557b81b7e52d72 authored over 9 years ago by Erik M. Bray <[email protected]>
A bit of refactoring of generate_build_ext_command--just use an in-line class rather than type()--this makes the code a little easier to understand IMO

d5ce572f3870293271b317150c1b9ee97889c741 authored over 9 years ago by Erik M. Bray <[email protected]>
Added a test for this fix. In the process I realized the existing error message formatting was a little hard to grok--this makes it a little better, but only a little.

22adc2e29eae25428be21752fef07e0bdfdcdc66 authored over 9 years ago by Erik M. Bray <[email protected]>
Fixed malformatting of an error message

5d6341de0e6d1d22fb2753428cce3fb0573c249b authored over 9 years ago by Erik M. Bray <[email protected]>
distutils displays a useless error message if we pass too many arguments in to IOError(). In doubt, just say the C filename was missing (maybe later add a better way to indicate if a C++ file should exist?)

6ad7927bc91fa6044a5977377a0720b08e7ebad7 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #182 from embray/issue-182

Crash in adjust_compiler when usable compiler isn't found

e663b9b6277e44bdba05066931d5076e0fe4ac85 authored over 9 years ago by Erik Bray <[email protected]>
Some tweaks for this to pass on Windows (it might as well just be skipped entirely on Windows, but it was easy enough to make it 'work' too)

38f76e915e8c9346c4175482e14e551f3992c93a authored over 9 years ago by Erik M. Bray <[email protected]>
This test was bombing out if run in an environment with the CC environment variable already set. This should handle it a little more carefully (ensuring that it is unset before the test runs).

2dc4e3b1843339557ecc1c17d6322583cf2fe4ae authored over 9 years ago by Erik M. Bray <[email protected]>
Adds a test and fix for #182. Notably, this changes get_compiler_version (which as far as I know wasn't used outside this module) to return a string instead of bytes.

581f53e5a7a2d40cd722d4926db8ba7b53d58980 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #180 from RiceMunk/sphinx-codeblock-linenumbers

Fix for issue #179

9a77f664b3a1344228bc51ee512218170b14bb9b authored over 9 years ago by Erik Bray <[email protected]>
Added changelog entry to v1.0.4 for the fix.

d86d280eec7e42383af590af75c1e0cfcdbf5705 authored over 9 years ago by ansuutar <[email protected]>
Fixes sphinx codeblock linenumbering

ba1cbf7b2a314d370c9061582b4554e2fa65bd9a authored over 9 years ago by Aleksi Suutarinen <[email protected]>
Merge pull request #175 from eteq/fix-output-of-w

Fix output of build_sphinx -w option in py 3.x

a9eac89798203f59e56d34dfe9e75022a6869abd authored over 9 years ago by Erik Bray <[email protected]>
Added changelog updates from v1.0.3 release

7e3156b301a81e7bdd49bd9657d612cee0c40e20 authored over 9 years ago by Erik M. Bray <[email protected]>
minor tweak in variable name to reduce confusion

b4941404d9909d4e3589a929be167aca56d2d8b4 authored over 9 years ago by Erik Tollerud <[email protected]>
Fix for new stdo that formats correctly in 3.x

7e0a65ef32cbbe829e5fb8fe253bd4145cf162ea authored over 9 years ago by Erik Tollerud <[email protected]>
Merge pull request #174 from embray/allow-cpp-2

Slight tweak to ensure that the (possible) C++ filename associated wi…

0eadc244b27c2863644fcfb24890adfecf9d56a9 authored over 9 years ago by Erik Bray <[email protected]>
add missing decode in -w option of build_sphinx

b08cea4fbfa56389c87fb4a6d2c3dd70338cefa4 authored over 9 years ago by Erik Tollerud <[email protected]>
Slight tweak to ensure that the (possible) C++ filename associated with a Cython source is always found

d4c1121d2afa22169fae34eee7acfc7d18fc3fe4 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #173 from eteq/allow-cpp

accept cpp files as valid Cython-produced outputs

c91b40f5a8fd21278011bf177f2cc93551c1bd4e authored over 9 years ago by Erik Bray <[email protected]>
add changelog entry

a6e3277bbfab3889c674501daab7bf74899b1133 authored over 9 years ago by Erik Tollerud <[email protected]>
also auto-generate cpp extensions if present

980781bab1a1c9f981216e708097b07ccf634a72 authored over 9 years ago by Erik Tollerud <[email protected]>
accept cpp files as valid Cython-produced outputs

55cf6d9272d8bd5940d52b65f3a4ab443d9fce0e authored over 9 years ago by Erik Tollerud <[email protected]>
Merge pull request #171 from embray/optimized-docstrings

This decorator shouldn't always assume that the docstring exists at a…

591e301cd2aa54bbe8408e442305eb1404142593 authored over 9 years ago by Erik Bray <[email protected]>
Added changelog entry for #161

3177018cf66d8f3b2d44b28c29a9c6676fc6f991 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #161 from eteq/add-docs-alias

add build_docs command/alias

000b444771adf2fc807125b31789b0c67ac4cbf7 authored over 9 years ago by Erik Bray <[email protected]>
Add changelog entry for #171 [skip ci]

af08c5299805c8eec6c4e00217a7423e0b59ab93 authored over 9 years ago by Erik M. Bray <[email protected]>
This decorator shouldn't always assume that the docstring exists at all; even if we expect the docstring to exist it may not due to optimized compilation (see astropy/astropy#3923)

c646da624635d0772aeba2e0dd2c052b000c2975 authored over 9 years ago by Erik M. Bray <[email protected]>
Merge pull request #170 from mdboom/use-mathjax-on-readthedocs

Use mathjax for math rendering on readthedocs

573f8da11df64a596b7a960bc454a93ac0f0a608 authored over 9 years ago by Erik Bray <[email protected]>
Use mathjax for math rendering on readthedocs

d6dd5a0e2fb078ee9386959ed0f20760b7e6d510 authored over 9 years ago by Michael Droettboom <[email protected]>
Merge pull request #169 from mdboom/graphviz-fonts

Make the font of graphviz diagrams match the HTML

3eba5c1bc0ec02074a8c8e3348e0519ec9f0bea9 authored over 9 years ago by Erik Bray <[email protected]>
[skip ci] Add PR number

67e13440a892660ea9fc3a080a2c38a9c29f8809 authored over 9 years ago by Michael Droettboom <[email protected]>
Make the font of graphviz diagrams match the HTML

3247ca9198d4a6b0927539b705b30de818e1d629 authored over 9 years ago by Michael Droettboom <[email protected]>
Slight fix so that the correct error is raised when astropy-helpers can't be downloaded due to use of the --offline option, and isn't otherwise available locally.

49a081ca57bb209d26f2ebaf06040a7306f33248 authored over 9 years ago by Erik M. Bray <[email protected]>