Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
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
Container registry
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
TurTLE
TurTLE
Commits
83bba017
Commit
83bba017
authored
9 years ago
by
Chichi Lalescu
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/sdist' into develop
parents
51b62173
40c70690
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
bfps/__init__.py
+1
-7
1 addition, 7 deletions
bfps/__init__.py
setup.py
+3
-4
3 additions, 4 deletions
setup.py
tox_plain.ini
+1
-0
1 addition, 0 deletions
tox_plain.ini
with
5 additions
and
11 deletions
bfps/__init__.py
+
1
−
7
View file @
83bba017
...
@@ -33,14 +33,8 @@ import pkg_resources
...
@@ -33,14 +33,8 @@ import pkg_resources
__version__
=
pkg_resources
.
require
(
'
bfps
'
)[
0
].
version
__version__
=
pkg_resources
.
require
(
'
bfps
'
)[
0
].
version
_dist
=
pkg_resources
.
get_distribution
(
'
bfps
'
)
_dist
=
pkg_resources
.
get_distribution
(
'
bfps
'
)
# Normalize case for Windows systems
dist_loc
=
os
.
path
.
realpath
(
_dist
.
location
)
dist_loc
=
os
.
path
.
normcase
(
os
.
path
.
realpath
(
_dist
.
location
))
here
=
os
.
path
.
normcase
(
__file__
)
here
=
os
.
path
.
normcase
(
__file__
)
if
not
here
.
startswith
(
os
.
path
.
join
(
dist_loc
,
'
bfps
'
)):
# not installed, but there is another version that *is*
header_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
here
),
'
cpp
'
)
lib_dir
=
os
.
path
.
dirname
(
here
)
raise
pkg_resources
.
DistributionNotFound
header_dir
=
os
.
path
.
join
(
os
.
path
.
join
(
dist_loc
,
'
bfps
'
),
'
cpp
'
)
header_dir
=
os
.
path
.
join
(
os
.
path
.
join
(
dist_loc
,
'
bfps
'
),
'
cpp
'
)
lib_dir
=
os
.
path
.
join
(
dist_loc
,
'
bfps
'
)
lib_dir
=
os
.
path
.
join
(
dist_loc
,
'
bfps
'
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
4
View file @
83bba017
...
@@ -83,10 +83,9 @@ src_file_list = ['field_descriptor',
...
@@ -83,10 +83,9 @@ src_file_list = ['field_descriptor',
header_list
=
[
'
cpp/base.hpp
'
]
+
[
'
cpp/
'
+
fname
+
'
.hpp
'
for
fname
in
src_file_list
]
header_list
=
[
'
cpp/base.hpp
'
]
+
[
'
cpp/
'
+
fname
+
'
.hpp
'
for
fname
in
src_file_list
]
#with open('MANIFEST.in', 'w') as manifest_in_file:
with
open
(
'
MANIFEST.in
'
,
'
w
'
)
as
manifest_in_file
:
# manifest_in_file.write('include libbfps.a\n')
for
fname
in
[
'
bfps/cpp/
'
+
fname
+
'
.cpp
'
for
fname
in
src_file_list
]
+
header_list
:
# for fname in ['bfps/cpp/' + fname + '.cpp' for fname in src_file_list] + header_list:
manifest_in_file
.
write
(
'
include {0}
\n
'
.
format
(
fname
))
# manifest_in_file.write('include {0}\n'.format(fname))
libraries
=
[
'
fftw3_mpi
'
,
libraries
=
[
'
fftw3_mpi
'
,
'
fftw3
'
,
'
fftw3
'
,
...
...
This diff is collapsed.
Click to expand it.
tox_plain.ini
+
1
−
0
View file @
83bba017
...
@@ -6,6 +6,7 @@ sitepackages = True
...
@@ -6,6 +6,7 @@ sitepackages = True
whitelist_externals
=
whitelist_externals
=
echo
echo
cp
cp
g++
passenv
=
LD_LIBRARY_PATH
passenv
=
LD_LIBRARY_PATH
changedir
=
changedir
=
{envtmpdir}
{envtmpdir}
...
...
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