Skip to content

Commit 090b39b

Browse files
committed
Use MANIFEST file instead of package_data field.
Also reformat the entry_points field, without changing its content.
1 parent 0dcce15 commit 090b39b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Diff for: MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
recursive-include diffpy *
2+
# include AUTHORS.txt LICENSE*.txt README.rst
3+
exclude MANIFEST.in
4+
recursive-exclude diffpy *.pyc

Diff for: setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
version = "0.4a1",
77
namespace_packages = ['diffpy'],
88
packages = find_packages(),
9+
include_package_data = True,
910
zip_safe = False,
1011

1112
# Dependencies
@@ -16,8 +17,10 @@
1617
install_requires = ['diffpy.pdfgui', 'matplotlib >= 1.1.0', 'numpy', 'scipy'],
1718

1819
# other arguments here...
19-
entry_points = { 'console_scripts': ['srmise = diffpy.srmise.applications.extract:main', 'srmiseplot = diffpy.srmise.applications.plot:main']},
20-
21-
package_data = { '': ['*.srmise', '*.gr', '*.dat', '*.pwa', 'documentation/*.pdf'] }
22-
20+
entry_points = {
21+
'console_scripts' : [
22+
'srmise = diffpy.srmise.applications.extract:main',
23+
'srmiseplot = diffpy.srmise.applications.plot:main',
24+
]
25+
},
2326
)

0 commit comments

Comments
 (0)