domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
251 stars 77 forks source link

Can't install with fresh virtualenv #25

Closed tysonclugg closed 6 years ago

tysonclugg commented 6 years ago

You shouldn't import anything outside of the standard library from setup.py, since requirements aren't installed yet:

$ pip install -U git+https://github.com/domainaware/checkdmarc.git
Collecting git+https://github.com/domainaware/checkdmarc.git
  Cloning https://github.com/domainaware/checkdmarc.git to /tmp/pip-oNfdrY-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-oNfdrY-build/setup.py", line 18, in <module>
        from checkdmarc import __version__
      File "checkdmarc.py", line 17, in <module>
        import publicsuffix
    ImportError: No module named publicsuffix

    ----------------------------------------