File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/python3
22
3+ import platform
34try :
45 from setuptools import setup
56except ImportError :
67 import ez_setup
78 ez_setup .use_setuptools ()
89 from setuptools import setup
910
11+ if platform .system () == "Linux" :
12+ bin_dir = "bins/linux"
13+ elif platform .system () == "Darwin" :
14+ bin_dir = "bins/osx"
15+
16+ structure_bin = bin_dir + "/structure"
17+ faststructure_bin = bin_dir + "/fastStructure"
18+
1019setup (
1120 name = "structure_threader" ,
1221 version = "0.1.5" ,
3039 "Natural Language :: English" ,
3140 "Operating System:: POSIX:: Linux" ,
3241 "Topic :: Scientific/Engineering :: Bio-Informatics" ],
33- data_files = [('bin' , ['bins/linux/fastStructure' , 'bins/linux/structure' ])],
42+ data_files = [('bin' , [faststructure_bin , structure_bin ])],
3443 entry_points = {
3544 "console_scripts" : [
3645 "structure_threader = structure_threader.structure_threader:main" ,
You can’t perform that action at this time.
0 commit comments