Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move code from pb/cli to pb directory #103

Merged
merged 1 commit into from
Nov 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
""")