Skip to content
Snippets Groups Projects
Commit 041ad950 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Rename diffoscope.__main__ to diffoscope.main as its not a "real" magic name

parent 5fb78d03
No related branches found
No related tags found
Loading
......@@ -26,7 +26,7 @@ for root in ['.', '..']:
sys.path = [root] + sys.path
break
from diffoscope.__main__ import main
from diffoscope.main import main
if __name__ == '__main__':
main()
File moved
......@@ -34,7 +34,7 @@ setup(name='diffoscope',
cmdclass = {'test': PyTest},
entry_points={
'console_scripts': [
'diffoscope=diffoscope.__main__:main'
'diffoscope=diffoscope.main:main'
],
},
install_requires=[
......
......@@ -21,7 +21,7 @@ import os
import signal
import tempfile
import pytest
from diffoscope.__main__ import main
from diffoscope.main import main
def test_non_existing_files(capsys):
args = '/nonexisting1 /nonexisting2'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment