Skip to content

VA0/ArchPythonExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArchPythonExtension

Python 2.7 Simple Extension in C++

Screenshot

Available commands are:

Instalation Guide

  1. Install choco (PACKAGE MANAGER FOR WINDOWS)
  • Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  1. Install Visual C++ 2008 Service Pack 1 Redistributable Package
  • choco install vcredist2008
  1. Install .NET Framework 3.5
  • choco install dotnet3.5
  1. Install Visual C++ Compiler Package for Python 2.7 (vcpython27) (microsoft link deprecated & deleted) (using community uploaded binary)
  1. Install Extension (it will build the extension and put into Python folder)
  • python setup.py install

...or compile manually

  • g++ -c arch.cpp udp.cpp -IC:/Python27/include -D MS_WIN64
  • g++ -shared -o arch.pyd arch.o -LC:/Python27/libs -lPython27 -D MS_WIN64
and move arch.pyd into python executable folder

Server not included, write your own. This just an example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published