Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mako files to MANIFEST #980

Merged
merged 1 commit into from
May 11, 2017

Conversation

zachriggle
Copy link
Member

The pwn template command was broken because the .mako file was not included in the manifest. This meant installs from pip install pwntools were broken and could not use this command.

After doing this, I get:

$ tar -tf dist/pwntools-3.6.0.tar.gz | grep mako
pwntools-3.6.0/pwnlib/data/templates/pwnup.mako

@zachriggle zachriggle requested a review from TethysSvensson May 10, 2017 22:04
@zachriggle zachriggle self-assigned this May 10, 2017
@zachriggle zachriggle added the bug label May 10, 2017
@zachriggle zachriggle added this to the 3.6.0 milestone May 10, 2017
@zachriggle zachriggle merged commit f82c0aa into Gallopsled:stable May 11, 2017
@TethysSvensson
Copy link
Contributor

I'm guessing this calls for a new point release?

@zachriggle
Copy link
Member Author

zachriggle commented May 11, 2017 via email

@TethysSvensson
Copy link
Contributor

This does not fix it on my system. I am getting this:

/tmp/wut> pwn template
Traceback (most recent call last):
  File "/usr/local/bin/pwn", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/pwnlib/commandline/main.py", line 51, in main
    commands[args.command](args)
  File "/usr/local/lib/python2.7/dist-packages/pwnlib/commandline/template.py", line 46, in main
    template = lookup.get_template('pwnup.mako')
  File "/usr/local/lib/python2.7/dist-packages/mako/lookup.py", line 259, in get_template
    "Cant locate template for uri %r" % uri)
mako.exceptions.TopLevelLookupException: Cant locate template for uri 'pwnup.mako'

TethysSvensson added a commit that referenced this pull request May 12, 2017
@TethysSvensson
Copy link
Contributor

Fixed in 1a4a1e1 and was released in 3.6.1.

@zachriggle
Copy link
Member Author

zachriggle commented May 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants