Skip to content

Commit

Permalink
Merge pull request #103 from martinholmer/cli-to-pb
Browse files Browse the repository at this point in the history
Move code from pb/cli to pb directory
  • Loading branch information
martinholmer authored Nov 9, 2018
2 parents 36d36d0 + f9ca4bc commit 0fb2e9e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions pb/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
Specify what is available to import from the pb package.
"""
from pb.main import start

from pb._version import get_versions
__version__ = get_versions()['version']
del get_versions
File renamed without changes.
2 changes: 1 addition & 1 deletion pb/cli/main.py → pb/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def default_token_config():


@click.group(context_settings=CONTEXT_SETTINGS)
@click.version_option(prog_name="pb", version="0.8.0")
@click.version_option(prog_name="pb", version="0.9.0")
@click.pass_context
@u.required_commands("anaconda", "conda", "git", "tar", "tsort")
def cli(ctx):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions release-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ fi
# begin script execution
echo "STARTING : `date`"

echo "[$NAME] using `pb --version`"

echo "[$NAME] clearing-deck"

# uninstall local taxcalc package
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
readme = f.read()

setup(name="Package-Builder",
version="0.8.0",
version="0.9.0",
description="Policy Simulation Library (PSL) models package management",
url="https://github.com/open-source-economics/Package-Builder",
author="Martin Holmer (based on original work by Joseph Crail)",
Expand All @@ -27,5 +27,5 @@
long_description=readme,
entry_points="""
[console_scripts]
pb=pb.cli.main:start
pb=pb.main:start
""")

0 comments on commit 0fb2e9e

Please sign in to comment.