Giter Club home page Giter Club logo

Comments (4)

Falldog avatar Falldog commented on June 26, 2024

@jimmycorkhill pyconcrete Apache License is fine for commercial use, so there is no problem.
:)

from pyconcrete.

 avatar commented on June 26, 2024

Sorry, I mean license as in serial codes and license keys.

I am selling some software for a game, but there will be attempts to hack it and distribute it for free.

I'm attempting to lock the script to a single user's PC and I want to stop the software being easily reverse-engineered.

Does pyconcrete compile to .exe at all?

from pyconcrete.

Falldog avatar Falldog commented on June 26, 2024

pyconcrete doesn't support the function currently. Short term, you could try on compile .exe by yourself. Reference Embedded python

Compile .exe in embedded python. The source .c maybe look like below

#include <Python.h>

int main(int argc, char *argv[])
{
  Py_SetProgramName(argv[0]);  /* optional but recommended */
  Py_Initialize();
  PyRun_SimpleString("import pyconcrete\n"
                     "import src\n"
                     "src.main()\n");
  Py_Finalize();
  return 0;
}

Long term, pyconcrete may include this feature in setup.py

from pyconcrete.

Falldog avatar Falldog commented on June 26, 2024

Hi @jimmycorkhill
You can use new pyconcrete executable file to distribute different license key (pyconcrete) to customers

from pyconcrete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.