-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (30 loc) · 1011 Bytes
/
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
import os
import sys
from setuptools import find_packages, setup
dirn = os.path.abspath(os.path.dirname(__file__))
VERSION = open('VERSION').read().strip()
with open(os.path.join(dirn, 'README.md'), 'r') as fd:
desc = fd.read()
mods = []
pkgdata = {'scripts': ['scripts/*']}
scripts = []
for s in os.listdir('scripts'):
if s != '.git':
scripts.append('scripts/%s'%s)
setup (name = 'VivisectION',
version = VERSION,
description = desc,
long_description=desc,
long_description_content_type='text/markdown',
author = 'atlas of d00m',
author_email = 'atlas@r4780y.com',
url = 'https://github.com/atlas0fd00m/VivisectION',
download_url = 'https://github.com/atlas0fd00m/VivisectION/archive/v%s.tar.gz' % VERSION,
packages = find_packages(),
package_data = pkgdata,
install_requires = [
'vivisect>=1.0.8'
],
ext_modules = mods,
scripts = scripts
)