Skip to content

Commit

Permalink
Dwr/fix wheel (#13)
Browse files Browse the repository at this point in the history
* temp

* Add missing subpackages to module
Fix misspelling of script name
Add script to setup necessary wheel build env
  • Loading branch information
rappdw authored Feb 27, 2020
1 parent ceae0bf commit 5e958cc
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ crawl-fs -i <FamilySearch Ids to seed crawl> -o <output-directory> -b <name port

# this will generate a <name>.vertices.csv and <name>.edges.csv file which can be ingested into a RedBlackGraph
pip install RedBlackGraph
# use rgbcf to generate both a simple form and cannonical form of a Red Black Graph (xlsx files)
rgbcf -f <directory and base name of vertices and edges file> -o <output-directory>
# use rbgcf to generate both a simple form and cannonical form of a Red Black Graph (xlsx files)
rbgcf -f <directory and base name of vertices and edges file> -o <output-directory>

# Use excel to view output

Expand Down
10 changes: 10 additions & 0 deletions bin/setup-osx-build-env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

eval "$(conda shell.bash hook)"

conda create -y --name rgb-build-36 python=3.6
conda create -y --name rgb-build-37 python=3.7
conda create -y --name rgb-build-38 python=3.8

docker pull quay.io/pypa/manylinux2010_x86_64

3 changes: 3 additions & 0 deletions redblackgraph/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ def configuration(parent_package='',top_path=None):
config = Configuration('redblackgraph',parent_package,top_path)
config.add_subpackage('core')
config.add_subpackage('sparse')
config.add_subpackage('reference')
config.add_subpackage('types')
config.add_subpackage('util')
config.make_config_py()
return config

Expand Down
4 changes: 2 additions & 2 deletions scripts/rgbcf → scripts/rbgcf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ MAX_PRACTICAL_SIZE = 1500

if __name__ == '__main__':
parser = argparse.ArgumentParser(
description="rgbcf - get cannonical form: parses rbg ingest files and generates the cannonical form",
description="rbgcf - get cannonical form: parses rbg ingest files and generates the cannonical form",
add_help=False,
usage="rgbcf -f <base-file> -o <out-directory> (<base-file>.vertices.csv and <base-file>.edges.csv must exist)",
usage="rbgcf -f <base-file> -o <out-directory> (<base-file>.vertices.csv and <base-file>.edges.csv must exist)",
)
parser.add_argument("-f", "--basefile", metavar="<STR>", type=str, help="base file name", required=True)
parser.add_argument("-o", "--outdir", metavar="<STR>", type=str,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def configuration(parent_package='', top_path=None):
'cython'
],
scripts=[
'scripts/rgbcf',
'scripts/rbgcf',
]
)

Expand Down

0 comments on commit 5e958cc

Please sign in to comment.