#!/usr/bin/env/ python
from setuptools import setup, find_packages
import os

# retrieve the version
try:
    versionfile = os.path.join('dympy','__version__.py')
    f = open( versionfile, 'r')
    content = f.readline()
    splitcontent = content.split('\'')
    version = splitcontent[1]
    f.close()
except:
    raise Exception('Could not determine the version from dympy/__version__.py')


# run the setup command
setup(
    name='dympy',
    version=version,
    license='MIT',
    description='Python-Dymola communication on windows',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
    url='https://github.com/BrechtBa/dympy',
    author='<NAME>',
    author_email='<EMAIL>',
    packages=find_packages(),
    install_requires=['numpy','scipy'],
    classifiers=['Programming Language :: Python :: 2.7'],
)
#!/usr/bin/env/ python
from setuptools import setup, find_packages
import os

# retrieve the version
try:
    versionfile = os.path.join('dympy','__version__.py')
    f = open( versionfile, 'r')
    content = f.readline()
    splitcontent = content.split('\'')
    version = splitcontent[1]
    f.close()
except:
    raise Exception('Could not determine the version from dympy/__version__.py')


# run the setup command
setup(
    name='dympy',
    version=version,
    license='MIT',
    description='Python-Dymola communication on windows',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
    url='https://github.com/BrechtBa/dympy',
    author='<NAME>',
    author_email='<EMAIL>',
    packages=find_packages(),
    install_requires=['numpy','scipy'],
    classifiers=['Programming Language :: Python :: 2.7'],
)
#!/usr/bin/env/ python # retrieve the version # run the setup command