Commit Graph
20 Commits
Author SHA1 Message Date
Ruslan Kuprieiev cb263cad3f build: add build_linux.sh to build rpm and deb
It uses pyintsaller to create standalone dvc binary and
then uses fpm to pack it into deb and rpm.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-06-01 21:57:34 +03:00
Ruslan Kuprieiev 315c093658 dvc: add hooks for pyinstall
Pyinstall can't resolve all dependencies on it's own, so
we need to help it with hoolks. From now on, we could
try to use pyinstall on Windows and MacOS to see if will
build standalone binaries.
2017-06-01 21:56:17 +03:00
Ruslan Kuprieiev 111007cdcc readme: add travis status icon
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-28 23:05:08 +03:00
Ruslan Kuprieiev feeea6b4f8 dvc: add travis.yml
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-28 22:57:59 +03:00
Ruslan Kuprieiev a01ef3197c dvc: misc changes for DataCloud, 'data sync' and 'remove'
This patch introduces DataCloud class that used config to
determine proper cloud class(DataCloudAWS and DataCloudGCP
are awailable) to use in "data_sync" and "remove" commands.

This patch focuses on introducing the common class itself
saving original code and definetly needs some RFC later.

It also adds simple DataCloudLOCAL class that uses directory
as a StoragePath and cp as a sync method. Which makes testing
so much easier and covers local scenarios.

And it also introduces ability to run data sync in parallel
by collecting files first and then running sync in a number
of threads.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-28 22:28:58 +03:00
Ruslan Kuprieiev adcd9038ce logger: use logger.DEBUG instead of 'debug'
Otherwise unittests fail with "ValueError: Unknown level: 'debug'".

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-28 22:28:58 +03:00
Ruslan Kuprieiev c8bdb128cc Merge pull request #80 from efiop/master
Logging, color and usage
2017-05-22 19:54:52 +03:00
Ruslan Kuprieiev ff3e4d21e1 Merge pull request #79 from efiop/master
dvc: fix --help
2017-05-21 02:55:33 +03:00
Ruslan Kuprieiev d03f3128c4 Merge pull request #76 from efiop/master
build: improve windows installer
2017-05-17 06:45:00 +03:00
Ruslan Kuprieiev c5d10e514c build: improve windows installer
1) Automatically update installer version by using dvc.main.VERSION
2) Make build.cmd more verbose and handle errors better
2017-05-16 20:31:20 -07:00
Ruslan Kuprieiev 73b4d3ef1f build: add popup msgs about CreateSymLinkPrivilege
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-08 06:54:43 -07:00
Ruslan Kuprieiev ea1eadfe06 build: use well-knows SID instead of "Everyone"
This will fix CreateSymLinkPermission modification in systems with
locale that is other than english.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-08 00:14:25 -07:00
Ruslan Kuprieiev 11fb068b03 build: add ability to tweak PATH and CreateSymLinkPermission 2017-05-07 02:47:02 -07:00
Ruslan Kuprieiev ea298c5b54 build: use winpython and fix bugs
This will allow us to make our installer ~4 times smaller(120MB ->
30MB). This patch also has fix for PATH bug and installs dvc to whatever
direstory user specified.
2017-05-06 05:56:50 -07:00
Ruslan Kuprieiev 9afee734f3 dvc: add __main__.py
This allows running dvc module directly: python -m dvc
2017-05-04 16:26:28 -07:00
Ruslan Kuprieiev 5db60a2586 build: use anaconda instead of nuitka
Nuitka is not able to handle all of our dependencies correctly,
so instead we're using anaconda which is essentially portable
python in single directory, that we can use to simply pip intsall
everything we need, pack it up and create an installer with inno
setup.

Currently, to build on windows(and for windows) you need to only
have Inno Setup 5 installed(no need for python!) and simply run
build.cmd from your prompt. It will automatically download latest
miniconda and produce dvc-{version}.exe in project's root.
Use dvc-{version}.exe to distribute dvc as a standalone application.
It doesn't require anything from user, everything it needs is provided
by our installer.
2017-05-04 16:22:17 -07:00
Ruslan Kuprieiev ad181a6c7e build: add builder for windows
It uses nuitka to convert dvc.py into standalone dvc.exe and then
uses Inno Setup script to create an installer.
2017-05-03 14:19:49 -07:00
Ruslan Kuprieiev 586c7f7e57 dvc: automatically create scripts, v2
Moving dvc.py contents to dvc/main.py and making
dvc.py to be just a wrapper for calling dvc/main.py.
This will allow us to both keep changes minimal and
use automatic script building.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-02 15:33:18 +03:00
Ruslan Kuprieiev 71ede45475 setup: add setup.py script, v2
v2, fixed email and removend config

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-02 10:11:10 +03:00
Ruslan Kuprieiev ba216474f1 requirements: move mac-specific to osx.txt
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-05-02 09:18:29 +03:00