8000 Fixed package name. · tj-python/github-deploy@4f7cdcc · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f7cdcc

Browse files
committed
Fixed package name.
1 parent f8bdf1c commit 4f7cdcc

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed
File renamed without changes.

github_deploy/commands/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
File renamed without changes.
File renamed without changes.

commands/delete.py renamed to github_deploy/commands/delete.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import asyncclick as click
66
import certifi
77

8-
from commands._constants import BASE_URL, REPOS_URL
9-
from commands._utils import get_repo
8+
from github_deploy.commands._constants import BASE_URL, REPOS_URL
9+
from github_deploy.commands._utils import get_repo
1010

1111

1212
async def get(*, session, url, headers=None, skip_missing=False):
@@ -146,6 +146,7 @@ async def list_repos(*, session, org, token):
146146
prompt=click.style("Enter your personal access token", bold=True),
147147
help="Personal Access token with read and write access to org.",
148148
hide_input=True,
< 10000 /code>
149+
envvar='TOKEN',
149150
)
150151
@click.option(
151152
"--dest",

commands/upload.py renamed to github_deploy/commands/upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import asyncclick as click
88
import certifi
99

10-
from commands._constants import BASE_URL, REPOS_URL
11-
from commands._utils import get_repo
10+
from github_deploy.commands._constants import BASE_URL, REPOS_URL
11+
from github_deploy.commands._utils import get_repo
1212

1313

1414
async def get(*, session, url, headers=None, skip_missing=False):
File renamed without changes.

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division
2-
31
import os
42
from setuptools import setup, find_packages
53

@@ -23,7 +21,7 @@
2321
url="https://github.com/tj-python/github-deploy",
2422
entry_points={
2523
"console_scripts": [
26-
"github-deploy=main:main",
24+
"github-deploy=github_deploy.main:main",
2725
],
2826
},
2927
keywords=["yaml", "deploy", "poly repository", "github", "single configuration"],

0 commit comments

Comments
 (0)
0