Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
<img alt="Coverage Status" src="https://coveralls.io/repos/github/mathLab/PyGeM/badge.svg?branch=master">
</a>
<a href="https://www.codacy.com/app/mathLab/PyGeM?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mathLab/PyGeM&amp;utm_campaign=Badge_Grade" target="_blank">
<img alt="Codacy Badge" src="https://api.codacy.com/project/badge/Grade/6195fc94d5bc4a61988c401fc98484a9">
<img alt="Codacy Badge" src="https://api.codacy.com/project/badge/Grade/7299abd9d61c4aa586903d80cea01c82">
</a>
</p>


[PyGeM](http://mathlab.github.io/PyGeM/) (Python Geometrical Morphing) is a python package that allows you to deform a given geometry or mesh with different deformation techniques such as FFD, RBF and IDW.

## Table of contents
Expand Down
2 changes: 1 addition & 1 deletion code_formatter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ done

# Here the important part: yapf format the files.
for file in $python_files; do
echo "Making beatiful $file..."
echo "Making beautiful $file..."
[[ ! -f $file ]] && echo "$file does not exist; $0 -h for more info" && exit

yapf --style='{
Expand Down
1 change: 1 addition & 0 deletions pygem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""
PyGeM init
"""
# __all__ = [
# 'affine', 'filehandler', 'freeform', 'radial', 'openfhandler',
Expand Down
68 changes: 33 additions & 35 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,39 +1,37 @@
from setuptools import setup, find_packages


def readme():
"""
This function just return the content of README.md
"""
with open('README.md') as f:
return f.read()
"""
This function just return the content of README.md
"""
with open('README.md') as f:
return f.read()


setup(name='pygem',
version='0.2',
description='Tools to apply FFD.',
long_description=readme(),
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics'
],
keywords='dimension_reduction mathematics ffd morphing iges stl vtk openfoam',
url='https://github.com/mathLab/PyGeM',
author='Marco Tezzele, Nicola Demo',
author_email='marcotez@gmail.com, demo.nicola@gmail.com',
license='MIT',
packages=find_packages(),
install_requires=[
'numpy',
'numpy-stl',
'scipy',
'matplotlib',
'enum34',
'Sphinx==1.4',
'sphinx_rtd_theme'
],
test_suite='nose.collector',
tests_require=['nose'],
include_package_data=True,
zip_safe=False)
setup(
name='pygem',
version='0.2',
description='Tools for gemetrical morphing.',
long_description=readme(),
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics'
],
keywords='dimension_reduction mathematics ffd morphing iges stl vtk openfoam',
url='https://github.com/mathLab/PyGeM',
author='Marco Tezzele, Nicola Demo',
author_email='marcotez@gmail.com, demo.nicola@gmail.com',
license='MIT',
packages=find_packages(),
install_requires=[
'numpy', 'numpy-stl', 'scipy', 'matplotlib', 'vtk', 'enum34',
'Sphinx==1.4', 'sphinx_rtd_theme'
],
test_suite='nose.collector',
tests_require=['nose'],
include_package_data=True,
zip_safe=False)