Skip to content
Merged
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
11 changes: 4 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,17 @@

# read the contents of README file
from os import path
import sys
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

f = open("PYML_VERSION", "r")
pymeshlabversion = f.read()

install_requires = ['numpy']

# if on windows, add msvc-runtime as dependency
osused = platform.system()
if osused == 'Windows':
install_requires.append('msvc-runtime')
install_requires = [
'numpy',
'msvc-runtime ; platform_system == "Windows"',
]

try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
Expand Down
Loading