Skip to content

Commit 6617687

Browse files
committed
Install config file.
1 parent 77ffd1b commit 6617687

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

astropy/setup_package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2+
3+
def get_package_data():
4+
return {'astropy': ['astropy.cfg']}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
package_info = get_package_info()
5858

5959
# Add the project-global data
60-
package_info['package_data']['astropy'] = ['data/*']
60+
package_info['package_data'].setdefault('astropy', []).append('data/*')
6161

6262
# Currently the only entry points installed by Astropy are hooks to
6363
# zest.releaser for doing Astropy's releases

0 commit comments

Comments
 (0)