forked from moxie0/TACKpy
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·38 lines (31 loc) · 1 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
#!/usr/bin/env python
# Authors:
# Trevor Perrin
# Moxie Marlinspike
#
# See the LICENSE file for legal information regarding use of this file.
from distutils.core import setup
import os
import shutil
shutil.copyfile("tack.py", "tack/tack")
setup( name="tackpy",
version="0.9.9a",
author="Trevor Perrin,Moxie Marlinspike",
url="http://tack.io",
description="Tackpy implements TACK in python",
license="public domain",
scripts=["tack/tack"],
packages=["tack", "tack/commands",
"tack/crypto", "tack/crypto/openssl", "tack/crypto/python",
"tack/structures", "tack/tls", "tack/util"],
data_files=[("", ["LICENSE", "tack.py", "Makefile"]),
("testdata", ["testdata/serverX509Cert.pem",
"testdata/serverX509Cert.der"])]
)
print("Cleaning up...")
if os.path.exists("build/"):
shutil.rmtree("build/")
try:
os.remove("tack/tack")
except:
pass