瀏覽代碼

Add dev requirement on testpath

Thomas Kluyver 9 年之前
父節點
當前提交
bfc753b380
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      .travis.yml
  2. 1 1
      appveyor.yml
  3. 1 0
      flit.ini

+ 1 - 1
.travis.yml

@@ -8,7 +8,7 @@ python:
 script: nosetests
 script: nosetests
 # Ensure dependencies are installed
 # Ensure dependencies are installed
 install:
 install:
-  - pip install requests requests_download jinja2 yarg win_cli_launchers
+  - pip install requests requests_download jinja2 yarg win_cli_launchers testpath
   - if [[ ${TRAVIS_PYTHON_VERSION} == '2.7' ]]; then pip install configparser pathlib; fi
   - if [[ ${TRAVIS_PYTHON_VERSION} == '2.7' ]]; then pip install configparser pathlib; fi
   - if [[ ${TRAVIS_PYTHON_VERSION} == '3.3' ]]; then pip install pathlib; fi
   - if [[ ${TRAVIS_PYTHON_VERSION} == '3.3' ]]; then pip install pathlib; fi
 
 

+ 1 - 1
appveyor.yml

@@ -6,7 +6,7 @@ environment:
 
 
 install:
 install:
   - cinst nsis
   - cinst nsis
-  - "%PYTHON%\\python.exe -m pip install requests requests_download jinja2 yarg nose win_cli_launchers"
+  - "%PYTHON%\\python.exe -m pip install requests requests_download jinja2 yarg nose win_cli_launchers testpath"
 
 
 build: off
 build: off
 
 

+ 1 - 0
flit.ini

@@ -12,6 +12,7 @@ requires = requests
     win_cli_launchers
     win_cli_launchers
     configparser; python_version == '2.7'
     configparser; python_version == '2.7'
     pathlib; python_version == '2.7' or python_version == '3.3'
     pathlib; python_version == '2.7' or python_version == '3.3'
+dev-requires = testpath
 classifiers = License :: OSI Approved :: MIT License
 classifiers = License :: OSI Approved :: MIT License
     Intended Audience :: Developers
     Intended Audience :: Developers
     Environment :: Win32 (MS Windows)
     Environment :: Win32 (MS Windows)