Skip to content

Commit

Permalink
Merge pull request #4 from gtback/pypi
Browse files Browse the repository at this point in the history
Changes for PyPI
  • Loading branch information
Kiran Bandla committed May 23, 2013
2 parents 90ad727 + 4b42d09 commit e4ce348
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MANIFEST
build
dist
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
from distutils.core import setup, Extension

import os

def get_version():
with open(os.path.join(os.path.dirname(__file__), 'pydeep.c'),'r') as f:
for line in f:
if "#define PYDEEP_VERSION" in line:
return line.split()[-1].strip('"')


setup(
name = "pydeep",
author = "Kiran Bandla",
author_email = "[email protected]",
license = "BSD",
version = get_version(),
description = "Python bindings for ssdeep",
long_description = "Python/C Wrapper for the ssdeep library",
url = "http://www.github.com/kbandla/pydeep",
ext_modules = [Extension(
Expand Down

0 comments on commit e4ce348

Please sign in to comment.