Skip to content

Commit

Permalink
setup: Use git tag versioning (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
coroa authored Jun 7, 2020
1 parent f35efb6 commit b2cb7da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion atlite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from .cutout import Cutout
from .gis import compute_indicatormatrix, regrid

from ._version import __version__
from .version import version as __version__

__author__ = "Gorm Andresen (Aarhus University), Jonas Hoersch (FIAS), Tom Brown (FIAS), Markus Schlott (FIAS), David Schlachtberger (FIAS)"
__copyright__ = "Copyright 2016-2017 Gorm Andresen (Aarhus University), Jonas Hoersch (FIAS), Tom Brown (FIAS), Markus Schlott (FIAS), David Schlachtberger (FIAS), GNU GPL 3"
2 changes: 0 additions & 2 deletions atlite/_version.py

This file was deleted.

9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
from __future__ import absolute_import

from setuptools import setup, find_packages
from codecs import open
import six

with open('README.rst', encoding='utf-8') as f:
long_description = f.read()

exec(open('atlite/_version.py').read())

setup(
name='atlite',
version=__version__,
author='Jonas Hoersch (FIAS), Tom Brown (FIAS), Gorm Andresen (Aarhus University)',
author_email='[email protected]',
description='Library for fetching and converting weather data to power systems data',
long_description=long_description,
url='https://github.com/FRESNA/atlite',
url='https://github.com/PyPSA/atlite',
license='GPLv3',
packages=find_packages(exclude=['doc', 'test']),
include_package_data=True,
use_scm_version={'write_to': 'atlite/version.py'},
setup_requires=['setuptools_scm'],
install_requires=['numpy',
'scipy',
'pandas>=0.22',
Expand Down

0 comments on commit b2cb7da

Please sign in to comment.