FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/PC/example_nt/setup.py at master · java66liu/python · GitHub
java66liu
/
python
Public
forked from
glix/python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
PC
/
example_nt
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (16 loc) · 771 Bytes
Breadcrumbs
python
/
PC
/
example_nt
/
setup.py
Copy path
File metadata and controls
22 lines (16 loc) · 771 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This is an example of a distutils 'setup' script for the example_nt
# sample. This provides a simpler way of building your extension
# and means you can avoid keeping MSVC solution files etc in source-control.
# It also means it should magically build with all compilers supported by
# python.
# USAGE: you probably want 'setup.py install' - but execute 'setup.py --help'
# for all the details.
# NOTE: This is *not* a sample for distutils - it is just the smallest
# script that can build this. See distutils docs for more info.
from
distutils
.
core
import
setup
,
Extension
example_mod
=
Extension
(
'example'
,
sources
=
[
'example.c'
])
setup
(
name
=
"example"
,
version
=
"1.0"
,
description
=
"A sample extension module"
,
ext_modules
=
[
example_mod
],
)
Back
|
FazBrowse Home
|
New Git URL