Add test for python_venv language

This commit is contained in:
Anthony Sottile 2018-05-12 10:21:46 -07:00
parent e8954e2bf3
commit b5af5a5b27
12 changed files with 55 additions and 15 deletions

View file

@ -0,0 +1,5 @@
- id: foo
name: Foo
entry: foo
language: python_venv
files: \.py$

View file

@ -0,0 +1,9 @@
from __future__ import print_function
import sys
def main():
print(repr(sys.argv[1:]))
print('Hello World')
return 0

View file

@ -0,0 +1,8 @@
from setuptools import setup
setup(
name='foo',
version='0.0.0',
py_modules=['foo'],
entry_points={'console_scripts': ['foo = foo:main']},
)