These are chat archives for astropy/astropy

24th
Aug 2014
Christoph Deil
@cdeil
Aug 24 2014 17:51

I'm trying to create a submodule called data in an affiliated package:
gammapy/gammapy#176
but python setup.py build complains

error: can't copy 'gammapy/data/tests': doesn't exist or not a regular file

Probably because data is a special folder somehow: https://github.com/astropy/package-template/tree/master/packagename/data
Still, is it possible do this somehow?
cc @astrofrog @eteq

Christoph Deil
@cdeil
Aug 24 2014 18:06
I think I figured the data sub-package issue out ... after removing this one line in setup.py everything seems to work:
https://github.com/astropy/package-template/blob/a5836ff65bfc873f5a3da108ea6ed82e717e8528/setup.py#L79