Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed May 28, 2021
1 parent 2f291ca commit 3f9d51e
Showing 1 changed file with 6 additions and 50 deletions.
56 changes: 6 additions & 50 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,55 +1,11 @@
import sys

from setuptools import setup, find_packages
from setuptools import setup

MAJOR = 0
MINOR = 1
MICRO = 0
ISRELEASED = False
VERSION = "%d.%d.%d" % (MAJOR, MINOR, MICRO)
QUALIFIER = ""


DISTNAME = "xmovie"
LICENSE = "MIT"
AUTHOR = "Julius Busecke"
AUTHOR_EMAIL = "julius@princeton.edu"
URL = "https://github.com/jbusecke/xmovie"
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
]

INSTALL_REQUIRES = ["xarray", "dask", "cartopy"]
SETUP_REQUIRES = ["pytest-runner"]
TESTS_REQUIRE = ["pytest >= 2.8", "coverage"]

if sys.version_info[:2] < (2, 7):
TESTS_REQUIRE += ["unittest2 == 0.5.1"]

DESCRIPTION = "Simply create beautiful movies from xarray objects"
LONG_DESCRIPTION = """To be written.
"""

setup(
name=DISTNAME,
version=VERSION,
license=LICENSE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
classifiers=CLASSIFIERS,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
install_requires=INSTALL_REQUIRES,
setup_requires=SETUP_REQUIRES,
tests_require=TESTS_REQUIRE,
url=URL,
packages=find_packages(),
use_scm_version={
"write_to": "xmovie/_version.py",
"write_to_template": '__version__ = "{version}"',
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
}
)

0 comments on commit 3f9d51e

Please sign in to comment.