mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
add requirements.txt / work in a virtualenv;
add development / deployment instructions in README; add single file build for osx
This commit is contained in:
@@ -3,3 +3,9 @@ neatlynx/__pycache__
|
||||
.idea
|
||||
cache
|
||||
*.pyc
|
||||
|
||||
cache
|
||||
.dvc.conf.lock
|
||||
.DS_Store
|
||||
build/
|
||||
dist/
|
||||
|
||||
@@ -9,3 +9,20 @@ Code and data version control for data science projects
|
||||
This project is distributed under the Apache license version 2.0 (see the LICENSE file in the project root).
|
||||
|
||||
By submitting a pull request for this project, you agree to license your contribution under the Apache license version 2.0 to this project.
|
||||
|
||||
|
||||
# Development
|
||||
Create a virtualenv, for example, at `~/.environments/dvc` by `mkdir -p ~/.environments/dvc; virtualenv ~/.environments/dvc` or use `virtualenvwrapper`.
|
||||
|
||||
```
|
||||
workon dvc
|
||||
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
# Building
|
||||
## OSX
|
||||
```
|
||||
# creates dist/dvc
|
||||
./build_osx.sh
|
||||
```
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
echo "building osx"
|
||||
# rm -rf build/ dist/
|
||||
pyinstaller --onefile --console \
|
||||
--clean \
|
||||
--noconfirm \
|
||||
--specpath dist/ \
|
||||
dvc2.py
|
||||
mv dist/dvc2 dist/dvc
|
||||
@@ -4,6 +4,9 @@ CacheDir = cache
|
||||
StateDir = state
|
||||
Cloud = AWS
|
||||
|
||||
# Log levels: Debug, Info, Warning and Error
|
||||
LogLevel = Info
|
||||
|
||||
[AWS]
|
||||
AccessKeyId =
|
||||
SecretAccessKey =
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
from __future__ import print_function
|
||||
"""
|
||||
main entry point / argument parsing for dvc
|
||||
|
||||
NB: for ${REASONS}, cannot be named dvc.py. trust me.
|
||||
"""
|
||||
|
||||
from dvc import *
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('hello, world')
|
||||
print('hello world, outside main')
|
||||
@@ -0,0 +1,26 @@
|
||||
appdirs==1.4.3
|
||||
appnope==0.1.0
|
||||
backports.shutil-get-terminal-size==1.0.0
|
||||
boto==2.46.1
|
||||
configparser==3.5.0
|
||||
decorator==4.0.11
|
||||
enum34==1.1.6
|
||||
fasteners==0.14.1
|
||||
ipython==5.3.0
|
||||
ipython-genutils==0.2.0
|
||||
monotonic==1.3
|
||||
nose==1.3.7
|
||||
packaging==16.8
|
||||
pathlib2==2.2.1
|
||||
pexpect==4.2.1
|
||||
pickleshare==0.7.4
|
||||
prompt-toolkit==1.0.14
|
||||
ptyprocess==0.5.1
|
||||
Pygments==2.2.0
|
||||
pyparsing==2.2.0
|
||||
requests==2.13.0
|
||||
scandir==1.5
|
||||
simplegeneric==0.8.1
|
||||
six==1.10.0
|
||||
traitlets==4.3.2
|
||||
wcwidth==0.1.7
|
||||
Reference in New Issue
Block a user