forked from ETS-Next-Gen/AWE_Workbench
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·37 lines (27 loc) · 827 Bytes
/
setup.py
File metadata and controls
executable file
·37 lines (27 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3.9
from distutils.command.build import build
from distutils.command.build import build as _build
from distutils.command.install import install
from distutils.command.install import install as _install
from setuptools import setup
from setuptools.command.develop import develop
from setuptools.command.develop import develop as _develop
class develop(develop):
def run(self):
_develop.run(self)
print('develop')
class build_(build):
def run(self):
_build.run(self)
print('build')
class install_(install):
def run(self):
_install.run(self)
print('install')
if __name__ == '__main__':
setup(
# see 'setup.cfg'
cmdclass={
'build': build_,
'install': install_,
'develop': develop, })