Skip to content

Commit e66da93

Browse files
committed
Binaries working with Pypi.
1 parent 44eb0c6 commit e66da93

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
recursive-include structure_threader/bins *

setup.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ def platform_detection(install_binaries=True):
1515
"""
1616
if install_binaries is True:
1717
if sys.platform == "linux":
18-
bin_pkg = "bins.linux"
1918
bin_dir = "structure_threader/bins/linux"
2019
elif sys.platform == "darwin":
21-
bin_pkg = "bins.osx"
2220
bin_dir = "structure_threader/bins/osx"
2321
else:
2422
return None
@@ -28,12 +26,12 @@ def platform_detection(install_binaries=True):
2826
structure_bin = bin_dir + "/structure"
2927
faststructure_bin = bin_dir + "/fastStructure"
3028

31-
return [('bin', [faststructure_bin, structure_bin])], {bin_pkg: ["*"]}
29+
return [('bin', [faststructure_bin, structure_bin])]
3230

3331

3432
# Set some variables (PKGBUILD inspired)
35-
DATA_FILES, DATA_PACKAGE = platform_detection()
36-
VERSION = "0.1.7.1"
33+
DATA_FILES = platform_detection()
34+
VERSION = "0.1.7.3"
3735
URL = "https://github.com/StuntsPT/Structure_threader"
3836

3937

@@ -60,7 +58,6 @@ def platform_detection(install_binaries=True):
6058
"Operating System :: POSIX :: Linux",
6159
"Topic :: Scientific/Engineering :: Bio-Informatics"],
6260
data_files=DATA_FILES,
63-
package_data=DATA_PACKAGE,
6461
entry_points={
6562
"console_scripts": [
6663
"structure_threader = structure_threader.structure_threader:main",

0 commit comments

Comments
 (0)