Add failing test for versioned repositories.

This commit is contained in:
Anthony Sottile 2014-06-01 21:09:02 -07:00
parent 3baae2fd1e
commit fdd6989ece
6 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,5 @@
- id: python3-hook
name: Python 3 Hook
entry: python3-hook
language: python
language_version: python3.3

View file

@ -0,0 +1,9 @@
from __future__ import print_function
import sys
def func():
print('{0}.{1}'.format(*sys.version_info[:2]))
print(repr(sys.argv[1:]))
print('Hello World')
return 0

View file

@ -0,0 +1,11 @@
from setuptools import find_packages
from setuptools import setup
setup(
name='python3_hook',
version='0.0.0',
packages=find_packages('.'),
entry_points={
'console_scripts': ['python3-hook = python3_hook.main:func'],
},
)