Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 838b6eb

Browse files
committed
update setup.py and add Manifest
1 parent 5b510c4 commit 838b6eb

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include LICENSE
2+
include README.rst
3+
include CHANGELOG
4+
include requirements.txt
5+
include requirements-*.txt
6+
recursive-include data *.*

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ dist:
1818
python setup.py sdist
1919

2020
clean:
21-
find . -name '*.pyc' -delete
21+
find . -type f -iname '*.pyc' -delete
22+
find . -type d -iname "__pycache__" -delete
2223
rm -rf dist build viper.egg-info

setup.py

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,47 @@
33
# This file is part of Viper - https://github.com/viper-framework/viper
44
# See the file 'LICENSE' for copying permission.
55

6-
from setuptools import setup, find_packages
76
from viper.common.version import __version__
87

8+
# Always prefer setuptools over distutils
9+
from setuptools import setup, find_packages
10+
11+
description = "Binary Analysis & Management Framework"
12+
913
setup(
1014
name='viper',
1115
version=__version__,
1216
author='Claudio Guarnieri',
1317
author_email='nex@nex.sx',
14-
description="Binary Analysis & Management Framework",
18+
description=description,
19+
long_description=description,
1520
url='http://viper.li',
16-
license='BSD 3-Clause',
1721

1822
scripts=['viper-cli', 'viper-api', 'viper-web', 'viper-update'],
19-
packages=find_packages(),
23+
packages=find_packages(exclude=['tests', 'tests.*']),
2024
setup_requires=['pytest-runner'],
2125
tests_require=['pytest'],
26+
27+
# BSD 3-Clause License:
28+
# - http://choosealicense.com/licenses/bsd-3-clause
29+
# - http://opensource.org/licenses/BSD-3-Clause
30+
license='BSD 3-Clause',
31+
32+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
33+
classifiers=[
34+
'Topic :: Security',
35+
36+
'License :: OSI Approved :: BSD License',
37+
38+
'Programming Language :: Python :: 2',
39+
'Programming Language :: Python :: 2.7',
40+
'Programming Language :: Python :: 3',
41+
'Programming Language :: Python :: 3.4',
42+
'Programming Language :: Python :: 3.5',
43+
'Programming Language :: Python :: 3.6',
44+
45+
'Operating System :: POSIX :: Linux',
46+
],
47+
48+
keywords='binary analysis management malware research',
2249
)

0 commit comments

Comments
 (0)