Commit Graph

2 Commits

Author SHA1 Message Date
gpotter2 13946c5d2e Add .gitattributes encoding 2017-05-31 17:04:19 +02:00
Robin Jarry 9d6409e75c fix version when installing from git archive
When installing from a git archive downloaded from github, the file
scapy/VERSION is not present since it is generated when building a
source archive with:

    ./setup.py sdist

To work around the problem, use the export-subst git attribute to make
git archive write the current revison information in scapy/__init__.py.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
2016-12-06 17:42:10 +01:00