Skip to content

Commit

Permalink
remove duplicated mock
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Nov 30, 2015
1 parent df8b283 commit 7767aea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 54 deletions.
50 changes: 0 additions & 50 deletions cffi_mock.py

This file was deleted.

5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@
with open(os.path.join(__dir__, 'cffi_declarations.c'), 'rb') as cffi_declarations:
declarations = cffi_declarations.read().decode('utf-8')

if os.environ.get('READTHEDOCS', None) == 'True':
cffi_module = 'cffi_mock.py'
else:
cffi_module = 'cffi_template.py'
cffi_module = 'cffi_template.py'

with open(os.path.join(__dir__, cffi_module), 'rb') as cffi_template:
cffi_code = cffi_template.read().decode('utf-8').format(**locals())
Expand Down

0 comments on commit 7767aea

Please sign in to comment.