Skip to content

Commit 3f00334

Browse files
Merge branch 'v2' into bugfix/update-email
2 parents 5fc36b8 + 61f21fd commit 3f00334

File tree

83 files changed

+3243
-570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+3243
-570
lines changed

.appveyor/build.ps1

Lines changed: 0 additions & 33 deletions
This file was deleted.

.build/.appveyor/build.ps1

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
if ($env:python.endswith("36-x64")) {
2+
$pycmd = "${env:python}\python.exe"
3+
& $pycmd -m venv venv
4+
} else {
5+
$venvcmd = "${env:python}\Scripts\virtualenv.exe"
6+
& $venvcmd venv
7+
}
8+
.\venv\Scripts\activate.ps1
9+
pip install external\okta-0.0.3.1-py2.py3-none-any.whl
10+
pip install -e .
11+
pip install -e .[test]
12+
pip install -e .[setup]
13+
14+
if ($env:python.endswith("36-x64")) {
15+
pip uninstall -y enum34
16+
}
17+
18+
make $env:BUILD_TARGET 2>&1
19+
dir dist
20+
mkdir release
21+
22+
cp dist\user-sync.exe release\
23+
cd release
24+
7z a "user-sync-${env:APPVEYOR_REPO_TAG_NAME}${env:BUILD_EDITION}-win64.zip" user-sync.exe
25+
cd ..
26+
7z a -ttar -r release\examples.tar examples
27+
7z a -tgzip release\examples.tar.gz release\examples.tar
28+
7z a -r release\examples.zip examples\
29+
dir release
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
# -----------------------------------------------------------------------------
3+
# Copyright (c) 2013-2018, PyInstaller Development Team.
4+
#
5+
# Distributed under the terms of the GNU General Public License with exception
6+
# for distributing bootloader.
7+
#
8+
# The full license is in the file COPYING.txt, distributed with this software.
9+
# -----------------------------------------------------------------------------
10+
11+
# Temporary implementation until this PR is merged:
12+
# https://github.com/pyinstaller/pyinstaller/pull/3948/files
13+
14+
# See also https://github.com/jaraco/keyring/issues/324
15+
16+
from PyInstaller.utils.hooks import collect_submodules, copy_metadata
17+
18+
hiddenimports = collect_submodules('keyrings.cryptfile.cryptfile')
19+
20+
# keyring uses entrypoints to read keyring.backends from metadata file entry_points.txt.
21+
datas = copy_metadata('keyrings.cryptfile')
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/usr/bin/env bash
22
virtualenv venv -p /usr/bin/python3.6
33
source venv/bin/activate
4+
python -m pip install --upgrade pip
45
pip install external/okta-0.0.3.1-py2.py3-none-any.whl
56
pip install -e .
67
pip install -e .[test]
78
pip install -e .[setup]
89
pip uninstall -y enum34
9-
make
10+
make $BUILD_TARGET
1011
pwd
11-
.travis/release.sh
12+
.build/.travis/release.sh
1213
python setup.py test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ pip install -e .
44
pip install -e .[test]
55
pip install -e .[setup]
66
pip uninstall -y enum34
7-
make
7+
make $BUILD_TARGET

.build/.travis/release.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
cd dist
3+
tar czf "user-sync-${TRAVIS_TAG}${BUILD_EDITION}-${IMG}.tar.gz" user-sync
4+
cd ..
5+
mkdir -p release
6+
mv dist/*.tar.gz release/
7+
ls -al release/

.build/hook-keyring.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -----------------------------------------------------------------------------
2+
# Copyright (c) 2013-2018, PyInstaller Development Team.
3+
#
4+
# Distributed under the terms of the GNU General Public License with exception
5+
# for distributing bootloader.
6+
#
7+
# The full license is in the file COPYING.txt, distributed with this software.
8+
# -----------------------------------------------------------------------------
9+
10+
# Temporary implementation until this PR is merged:
11+
# https://github.com/pyinstaller/pyinstaller/pull/3948/files
12+
13+
# See also https://github.com/jaraco/keyring/issues/324
14+
15+
from PyInstaller.utils.hooks import collect_submodules, copy_metadata
16+
17+
hiddenimports = collect_submodules('keyring.backends')
18+
19+
# keyring uses entrypoints to read keyring.backends from metadata file entry_points.txt.
20+
datas = copy_metadata('keyring')

0 commit comments

Comments
 (0)