From 5c2136da98bedacc5f1b4ea1a1c82cd7907f7542 Mon Sep 17 00:00:00 2001 From: philip Date: Sun, 27 Jul 2014 15:04:46 -0700 Subject: [PATCH] make the package installable from pypi --- MANIFEST.in | 1 + __init__.py | 2 +- setup.py | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..efa752e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include *.md diff --git a/__init__.py b/__init__.py index 8969fe6..3b8e43b 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,7 @@ __copyright__ = "Copyright 2014, Philip Martin" __credits__ = ["Philip Martin"] __license__ = "MIT" -__version__ = "1.0" +__version__ = "1.1" __maintainer__ = "Philip Martin" __email__ = "phillip.martin@gmail.com" __status__ = "Production" \ No newline at end of file diff --git a/setup.py b/setup.py index d310472..31bba1e 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,6 @@ from distutils.core import setup import sys from setuptools.command.test import test as TestCommand -import __init__ as virustotal2 try: from pypandoc import convert @@ -37,6 +36,7 @@ def run_tests(self): tests_require = ['pytest'], cmdclass = {'test': PyTest}, py_modules = ["virustotal2"], + include_package_data=True, requires = [ 'requests', ], @@ -51,8 +51,8 @@ def run_tests(self): "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules", ], - license = virustotal2.__license__, - version = virustotal2.__version__, - author = virustotal2.__author__, - author_email = virustotal2.__email__, + license = "MIT", + version = "1.1", + author = "Philip Martin", + author_email = "phillip.martin@gmail.com", )