Skip to content
Snippets Groups Projects
  1. Apr 25, 2017
  2. Dec 03, 2016
  3. Oct 19, 2016
    • Pierre LALET's avatar
      Remove support for Python 2.5 to clean the code · b2a7a54a
      Pierre LALET authored
        - update (part of) the documentation
          - some URLs for Windows need to be updated
        - update classifiers in setup.py
        - remove `from __future__ import with_statement`
        - use `{k: v for ...}` instead of `dict((k, v) for ...)`
        - remove hacks for `gcd()` and `binrepr()` implementations
        - use class decorators
        - remove Python 2.6 Travis-CI tests
      b2a7a54a
  4. Sep 05, 2016
    • Robin Jarry's avatar
      enhance version management · 4f71027f
      Robin Jarry authored
      When making an official release of scapy, one must:
      
      * Modify the hardcoded version in setup.py and scapy/config.py
      * Create a commit with this change
      * Create a git tag with the same version
      * Run ./setup.py sdist register upload
      * Modify the hardcoded version in setup.py and scapy/config.py again to
        append '-dev'.
      * Create another commit with the modified version.
      * Push the 3 commits and the tag.
      
      Not only this is tedious but it is also error prone.
      
      Add utility functions in scapy/__init__.py to determine current version.
      
      If git is available (thus running from a git clone), use "git describe" to
      get the current version. Write the version for future reference to a
      text file (scapy/VERSION).
      
      If git is not available (running from an installed scapy package) read
      the version from the scapy/VERSION file.
      
      This changes the release process as follows:
      
      * Create a git tag on the commit where you want to release
      * Run ./setup.py sdist register upload
      * Push the tag
      
      This allows to have a single place where the version is managed: git.
      
      Note: change the development versions to X.Y.Z.devN where N is the
      number of commits after the last tag. This complies to PEP 440
      https://www.python.org/dev/peps/pep-0440/#developmental-releases
      
      
      
      Signed-off-by: default avatarRobin Jarry <robin.jarry@6wind.com>
      4f71027f
  5. Jul 27, 2016
  6. Jan 21, 2016
  7. Jan 15, 2016
  8. Dec 23, 2014
  9. Dec 18, 2014
  10. Dec 17, 2014
  11. Apr 01, 2011
  12. Feb 28, 2011
  13. Aug 06, 2010
  14. Jun 16, 2010
  15. Apr 09, 2010
  16. Dec 14, 2009
  17. Nov 05, 2009
  18. Oct 18, 2009
  19. Oct 05, 2009
  20. Apr 13, 2009
  21. Feb 09, 2009
  22. Dec 25, 2008
  23. Oct 01, 2008
  24. Sep 12, 2008
  25. Aug 30, 2008
  26. Aug 28, 2008
  27. Aug 25, 2008
  28. Aug 17, 2008
  29. Aug 11, 2008
  30. Aug 10, 2008
Loading