# Always prefer setuptools over distutils
|
|
from setuptools import setup, find_packages
|
|
|
|
# To use a consistent encoding
|
|
from codecs import open
|
|
from os import path
|
|
|
|
version = "0.4.1"
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
# Get the long description from the README file
|
|
with open(path.join(here, "README.md"), encoding="utf-8") as f:
|
|
long_description = f.read()
|
|
|
|
setup(
|
|
name="iosacal",
|
|
version=version,
|
|
description="IOSACal is a radiocarbon (14C) calibration program",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Science/Research",
|
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Scientific/Engineering",
|
|
],
|
|
keywords="radiocarbon calibration",
|
|
author="Stefano Costa",
|
|
author_email="steko@iosa.it",
|
|
url="http://c14.iosa.it/",
|
|
license="GNU GPLv3",
|
|
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
|
|
python_requires='~=3.6',
|
|
package_data={"iosacal": ["data/*.14c"]},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=[
|
|
# -*- Extra requirements: -*-
|
|
"numpy >= 1.18.0",
|
|
"scipy >= 1.1.0",
|
|
"matplotlib ~= 3.0",
|
|
"click~=7.0"
|
|
],
|
|
tests_require=['pytest~=5.1'],
|
|
entry_points={"console_scripts": ["iosacal = iosacal.cli:main"]},
|
|
project_urls={ # Optional
|
|
"Bug Reports": "https://codeberg.org/steko/iosacal/issues",
|
|
"Funding": "https://liberapay.com/steko/",
|
|
"Source": "https://codeberg.org/steko/iosacal",
|
|
},
|
|
)
|