Skip to content
Permalink
Browse files

changed python manifest related stuff

  • Loading branch information
gdabah committed Jan 28, 2020
1 parent 4ede0bf commit b92926e044ff9ae5c42a84edb12244d909c4b1ac
Showing with 1 addition and 42 deletions.
  1. +0 −30 MANIFEST
  2. +1 −1 MANIFEST.in
  3. +0 −11 setup.py

This file was deleted.

@@ -2,4 +2,4 @@ include COPYING setup.cfg setup.py
include make\win32\cdistorm.vcxproj make\win32\cdistorm.vcxproj.filters make\win32\distorm.sln make\win32\resource.h make\win32\Resource.rc
recursive-include src *.c *.h
recursive-include include *.h
recursive-include . *.py
recursive-include python *.py
@@ -1,25 +1,16 @@
#!/usr/bin/env python

# Copyright (c) 2009, Mario Vilas
# Rob Ruana 2010
# Gil Dabah
# All rights reserved.
# Licensed under BSD.
#

import os
import os.path
from glob import glob
from setuptools import Extension, setup


def main():
# Just in case we are being called from a different directory
cwd = os.path.dirname(__file__)
if cwd:
os.chdir(cwd)

package_data = []
distorm_module = Extension(
"_distorm3",
sources=sorted(glob('src/*.c')) + ["python/python_module_init.c"],
@@ -28,14 +19,12 @@ def main():
)

options = {

# Setup instructions
'requires' : ['ctypes'],
'provides' : ['distorm3'],
'packages' : ['distorm3'],
'package_dir' : { '' : 'python' },
'ext_modules' : [distorm_module],
'package_data' : {'distorm3': package_data},
# Metadata
'name' : 'distorm3',
'version' : '3.4.2',

0 comments on commit b92926e

Please sign in to comment.
You can’t perform that action at this time.