-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into master-ninfinity
# Conflicts: # CMakeLists.txt # README.md
- Loading branch information
Showing
35 changed files
with
134 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,18 @@ | |
# along with XFoil. If not, see <https://www.gnu.org/licenses/>. | ||
import os | ||
import platform | ||
import re | ||
import subprocess | ||
import sys | ||
|
||
from setuptools import setup | ||
from setuptools.extension import Extension | ||
from setuptools.command.build_ext import build_ext | ||
|
||
version = '0.0.16' | ||
__version__ = re.findall( | ||
r"""__version__ = ["']+([0-9\.]*)["']+""", | ||
open('xfoil/__init__.py').read(), | ||
)[0] | ||
|
||
options = {k: 'OFF' for k in ['--opt', '--debug', '--cuda']} | ||
for flag in options.keys(): | ||
|
@@ -115,9 +119,10 @@ def readme(): | |
|
||
setup( | ||
name='xfoil', | ||
version=version, | ||
version=__version__, | ||
description='Stripped down version of XFOIL as compiled python module ', | ||
long_description=readme(), | ||
long_description_content_type='text/markdown', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Science/Research', | ||
|
@@ -132,12 +137,12 @@ def readme(): | |
], | ||
keywords='xfoil airfoil aerodynamic analysis', | ||
url='https://github.com/daniel-de-vries/xfoil-python', | ||
download_url='https://github.com/daniel-de-vries/xfoil-python/tarball/' + version, | ||
download_url='https://github.com/daniel-de-vries/xfoil-python/tarball/' + __version__, | ||
author='Daniël de Vries', | ||
author_email='[email protected]', | ||
license='GNU General Public License v3 or later (GPLv3+)', | ||
packages=['xfoil'], | ||
package_dir={'': 'src'}, | ||
# package_dir={'': 'src'}, | ||
ext_modules=[CMakeExtension('xfoil.xfoil')], | ||
cmdclass={'build_ext': CMakeBuild}, | ||
install_requires=['numpy'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters