daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from myproject import something
  2.    
  3. .travis.yml
  4. requirements.txt
  5. something.py
  6. tests/
  7.     test_something.py
  8.    
  9. before_install:
  10.   - "pip install -U pip"
  11.   - "export PYTHONPATH=$PYTHONPATH:$(pwd)"
  12.    
  13. from setuptools import setup, find_packages
  14.  
  15. setup(name='MyPythonProject',
  16.       version='0.0.1',
  17.       description='What it does',
  18.       author='',
  19.       author_email='',
  20.       url='',
  21.       packages=find_packages(),
  22.      )
  23.    
  24. before_install:
  25.   - "pip install -U pip"
  26.   - "python setup.py install"
  27.    
  28. .travis.yml
  29. requirements.txt
  30. app
  31. |_ tests
  32. |   |_ test_application.py
  33. |_ application.py
  34.    
  35. script:
  36.     - nosetests --with-coverage --cover-package app
RAW Paste Data
Top