diff --git a/lint.sh b/lint.sh index 891aa63..d31eeaa 100644 --- a/lint.sh +++ b/lint.sh @@ -1,2 +1,2 @@ pip install flake8 -flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs +flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs \ No newline at end of file diff --git a/rnd_requirements.txt b/rnd_requirements.txt index 971c9e2..2a05eea 100644 --- a/rnd_requirements.txt +++ b/rnd_requirements.txt @@ -1,3 +1 @@ -https://github.com/pyexcel/pyexcel/archive/master.zip -https://github.com/pyexcel/pyexcel-io/archive/dev.zip - +https://github.com/pyexcel/libxlsxwpy/archive/master.zip diff --git a/setup.py b/setup.py index df763f7..c6995ae 100644 --- a/setup.py +++ b/setup.py @@ -73,13 +73,14 @@ } # You do not need to read beyond this line PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable) +HERE = os.path.abspath(os.path.dirname(__file__)) + GS_COMMAND = ("gs pyexcel-xlsxw v0.6.1 " + "Find 0.6.1 in changelog for more details") NO_GS_MESSAGE = ("Automatic github release is disabled. " + "Please install gease to enable it.") UPLOAD_FAILED_MSG = ( 'Upload failed. please run "%s" yourself.' % PUBLISH_COMMAND) -HERE = os.path.abspath(os.path.dirname(__file__)) class PublishCommand(Command): @@ -125,7 +126,6 @@ def run(self): "publish": PublishCommand }) - def has_gease(): """ test if github release command is installed