mirror of
https://github.com/fastogt/pyfastogt
synced 2025-03-09 23:38:55 +00:00
License key request script
This commit is contained in:
parent
8229f21291
commit
5545fa691a
2 changed files with 65 additions and 0 deletions
10
setup.py
10
setup.py
|
|
@ -10,6 +10,7 @@ import sys
|
|||
from shutil import rmtree
|
||||
|
||||
from setuptools import find_packages, setup, Command
|
||||
from setuptools.command.install import install
|
||||
|
||||
# Package meta-data.
|
||||
NAME = 'pyfastogt'
|
||||
|
|
@ -48,6 +49,13 @@ else:
|
|||
about['__version__'] = VERSION
|
||||
|
||||
|
||||
class InstallCommand(install):
|
||||
"""Customized setuptools install command - prints a friendly greeting."""
|
||||
|
||||
def run(self):
|
||||
install.run(self)
|
||||
|
||||
|
||||
class UploadCommand(Command):
|
||||
"""Support setup.py upload."""
|
||||
|
||||
|
|
@ -118,5 +126,7 @@ setup(
|
|||
# $ setup.py publish support.
|
||||
cmdclass={
|
||||
'upload': UploadCommand,
|
||||
'install': InstallCommand
|
||||
},
|
||||
scripts=["pyfastogt/exe/request_fastogt_license_key"]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue