-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (37 loc) · 1.12 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
41
42
43
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def read(fname):
"""Open files relative to package."""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_scripts():
"""Find Python script files."""
scripts = []
exclude = ["setup.py"]
for file in os.scandir("."):
if file.name.endswith(".py") and file.is_file() and (file.name not in exclude):
scripts.append(file.name)
return scripts
setup(
name="vt-tools",
version="0.1.1",
author="Thomas Bouve (@crahan)",
author_email="crahan@n00.be",
description="VirusTotal Python scripts.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(),
scripts=find_scripts(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
],
install_requires=[
"click",
"requests",
],
)