-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
38 lines (32 loc) · 1.39 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
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
"""Utility function to read the README file.
Used for the long_description. It's nice, because now 1) we have a top level
README file and 2) it's easier to type in the README file than to put a raw string in below ..."""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="test suite generator",
version="0.2",
packages=['vuln_test_suite_gen'],
scripts=['test_cases_generator.py'],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=['jinja2'],
package_data={
# If any package contains *.txt or *.xml files, include them:
'vuln_test_suite_gen': ['*.txt', '*.xml'],
},
# metadata for upload to PyPI
author="Bertrand Stivalet",
author_email="[email protected]",
description="Collection of vulnerable and fixed synthetic test cases expressing specific flaws.",
license="MIT",
keywords="flaws vulnerability generator",
long_description=read('README.md'),
# could also include long_description, download_url, classifiers, etc.
)