Skip to content

Commit

Permalink
Add setup.{py,cfg} and LICENSE.
Browse files Browse the repository at this point in the history
Closes #9.
Closes #6.
  • Loading branch information
grahamgower committed Jul 20, 2020
1 parent a9b2098 commit 555d98e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (c) 2020 demes developers.

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4 changes: 0 additions & 4 deletions mypy.ini

This file was deleted.

29 changes: 29 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[metadata]
name = demes
author = demes developers
license = ISC
description = tools for describing demographic models
url = https://github.com/grahamgower/demes
classifiers =
Development Status :: 1 - Planning
License :: OSI Approved :: ISC License (ISCL)
Operating System :: OS Independent
Intended Audience :: Science/Research
Programming Language :: Python :: 3
Topic :: Scientific/Engineering

[options]
packages = demes
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.6
install_requires =
attrs >= 19.1.0
strictyaml
setuptools >= 41.2 # For pkg_resources
setup_requires =
setuptools >= 41.2
setuptools_scm

[mypy-strictyaml.*]
ignore_missing_imports = True
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env python3
from setuptools import setup

setup(use_scm_version=True)

0 comments on commit 555d98e

Please sign in to comment.