-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
40 lines (38 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
# encoding: utf-8
import os, sys
from setuptools import setup
setup(
# metadata
name="pfp",
description="An 010 template interpreter for Python",
long_description="""
pfp is an 010 template interpreter for Python. It accepts an
input data stream and an 010 template and returns a modifiable
DOM of the parsed data. Extensions have also been added to the
010 template syntax to allow for linked fields (e.g. checksums,
length calculations, etc), sub structures in compressed data,
etc.
""",
license="MIT",
version="{{VERSION}}",
author="James Johnson",
maintainer="James Johnson",
author_email="[email protected]",
url="https://github.com/d0c-s4vage/pfp",
platforms="Cross Platform",
download_url="https://github.com/d0c-s4vage/pfp/tarball/v{{VERSION}}",
install_requires=open(
os.path.join(os.path.dirname(__file__), "requirements.txt")
)
.read()
.split("\n"),
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
entry_points={
"console_scripts": ["pfp = pfp.__main__:main"]
},
packages=["pfp", "pfp.native", "pfp.fuzz"],
)