FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-mander/setup.py at master · gerrymandr/python-mander · GitHub
gerrymandr
/
python-mander
Public
Notifications
You must be signed in to change notification settings
Fork
16
Star
16
Code
Issues
3
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-mander
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (24 loc) · 903 Bytes
Breadcrumbs
python-mander
/
setup.py
Copy path
File metadata and controls
26 lines (24 loc) · 903 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
23
24
25
26
import
setuptools
#from distutils.core import setup, Extension
import
glob
ext_modules
=
[
setuptools
.
Extension
(
"_mander"
,
(
glob
.
glob
(
'src/*.cpp'
)
+
glob
.
glob
(
'lib/compactnesslib/src/*.cpp'
)
+
glob
.
glob
(
'lib/compactnesslib/lib/**.cpp'
)),
include_dirs
=
[
'lib/compactnesslib/api'
,
'lib/pybind11/'
,
'lib/compactnesslib/lib'
],
language
=
'c++'
,
extra_compile_args
=
[
'-std=c++11'
],
define_macros
=
[(
'DOCTEST_CONFIG_DISABLE'
,
None
)]
)
]
setuptools
.
setup
(
name
=
'mander'
,
version
=
'1.0.0'
,
description
=
'Python package to calculate compactness metrics for district shapes.'
,
url
=
'http://github.com/gerrymandr/python-mander'
,
author
=
'Geometry of Redistricting Workshop'
,
author_email
=
'gerrymandr@gmail.com'
,
license
=
'MIT'
,
packages
=
setuptools
.
find_packages
(),
scripts
=
[
'bin/mander'
],
ext_modules
=
ext_modules
)
Back
|
FazBrowse Home
|
New Git URL