Files
opm-common/python/setup.py.in

44 lines
1.2 KiB
Python
Raw Normal View History

from setuptools import setup
2019-06-27 14:08:22 +02:00
import os
setupdir = os.path.dirname(__file__)
if setupdir != '':
os.chdir( setupdir )
2019-08-09 13:02:04 +02:00
with open("README.md", "r") as fh:
long_description = fh.read()
2019-06-27 14:08:22 +02:00
setup(
name='opm',
version = '@opm-common_VERSION@' + '@opm-common_PYTHON_PACKAGE_VERSION@',
2020-06-16 12:58:45 +02:00
url='http://www.opm-project.org',
author='The Open Porous Media Project',
author_email='opmuser@gmail.com',
description='OPM-Common Python bindings',
long_description=long_description,
long_description_content_type="text/markdown",
2019-06-27 14:08:22 +02:00
packages=[
'opm',
2019-08-23 10:25:54 +02:00
'opm.io',
'opm.io.deck',
'opm.io.ecl_state',
2019-08-23 11:44:41 +02:00
'opm.io.parser',
'opm.io.schedule',
2019-10-26 17:33:43 +02:00
'opm.io.ecl',
2021-04-11 09:11:35 +02:00
'opm.tools',
'opm.util'
2019-06-27 14:08:22 +02:00
],
package_data={'opm' : ['$<TARGET_FILE_NAME:opmcommon_python>']},
include_package_data=True,
2019-06-27 14:08:22 +02:00
license='Open Source',
zip_safe=False,
test_suite='tests',
2019-06-27 14:08:22 +02:00
setup_requires=["pytest-runner", 'setuptools_scm'],
python_requires='>=3.6',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
2019-06-27 14:08:22 +02:00
)