Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
1d45a300
Commit
1d45a300
authored
9 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
setup.py: use setuptools.find_packages()
parent
0ea19bec
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+2
-8
2 additions, 8 deletions
setup.py
with
2 additions
and
8 deletions
setup.py
+
2
−
8
View file @
1d45a300
...
...
@@ -17,7 +17,7 @@ import glob
import
imp
import
subprocess
import
ConfigParser
from
setuptools
import
setup
,
Extension
,
Command
from
setuptools
import
setup
,
find_packages
,
Extension
,
Command
from
sysconfig
import
get_platform
from
distutils.errors
import
DistutilsError
,
DistutilsModuleError
,
\
CCompilerError
...
...
@@ -247,12 +247,6 @@ def long_description():
return
'
\n
'
.
join
(
text
)
def
packages
():
return
[
root
.
replace
(
'
/
'
,
'
.
'
)
for
root
,
dnames
,
fnames
in
os
.
walk
(
'
kwant
'
)
if
'
__init__.py
'
in
fnames
or
root
.
endswith
(
'
/tests
'
)]
def
search_mumps
():
"""
Return the configuration for MUMPS if it is available in a known way.
...
...
@@ -448,7 +442,7 @@ def main():
platforms
=
[
"
Unix
"
,
"
Linux
"
,
"
Mac OS-X
"
,
"
Windows
"
],
url
=
"
http://kwant-project.org/
"
,
license
=
"
BSD
"
,
packages
=
packages
(),
packages
=
find_
packages
(
'
.
'
),
test_suite
=
'
nose.collector
'
,
cmdclass
=
{
'
build
'
:
kwant_build
,
'
sdist
'
:
kwant_sdist
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment