Add manifest and add placeholders

parent 4136bee6
version: '1'
questions:
author:
ask: Author
default: Frank Sauerburger
email:
ask: e-mail address
default: frank@sauerburger.com
url:
ask: Repository URL
exec:
ask: "Include an command-line tool?"
q_type: bool
default: false
exec_name:
ask: "Name of command-line tool?"
only: exec
versions:
ask: "Which python version should be tested?"
q_type: float
nargs: '+'
MIT License
Copyright (c) 2019 Frank Sauerburger
Copyright (c) {{ year }} {{ author }}
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
......@@ -10,7 +10,7 @@ Install the package using pip
.. code-block:: console
$ pip install git+https://gitlab.sauerburger.com/frank/{{ PN }}
$ pip install git+{{ url }}.git
.. Once deployed to pypi
$ pip install {{ PN }}
......@@ -18,6 +18,6 @@ Install the package using pip
Links
=====
* `GitLab Repository <https://gitlab.sauerburger.com/frank/{{ PN }}>`_
* `GitLab Repository <{{ url }}>`_
.. * `Documentation <https://{{ PN }}.readthedocs.io/>`_
.. * `pyveu on PyPi <https://pypi.org/project/{{ PN }}>`_
......@@ -20,8 +20,8 @@
# -- Project information -----------------------------------------------------
project = '{{ PN }}'
copyright = '2019, Frank Sauerburger'
author = 'Frank Sauerburger'
copyright = '{{ year }}, {{ author }}'
author = '{{ author }}'
# The short X.Y version
version = ''
......@@ -137,7 +137,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, '{{ PN }}.tex', '{{ PN }} Documentation',
'Frank Sauerburger', 'manual'),
'{{ author }}', 'manual'),
]
......
......@@ -8,7 +8,7 @@ or
to install the package.
"""
# Copyright (C) 2019 Frank Sauerburger
# Copyright (C) {{ year }} {{ author }}
from setuptools import setup
......@@ -25,12 +25,14 @@ setup(name='{{ PN }}',
packages=["{{ PN }}", "{{ PN }}.tests"],
install_requires=[], # Also add in requirements.txt
test_suite='{{ PN }}.tests',
# scripts=['bin/{{ PN }}'],
{% if exec %}
scripts=['bin/{{ exec_name }}'],
{% endif %}
description='', # Short description
long_description=load_long_description("README.rst"),
url="https://gitlab.sauerburger.com/frank/{{ PN }}",
author="Frank Sauerburger",
author_email="frank@sauerburger.com",
url="{{ url }}",
author="{{ author }}",
author_email="{{ email }}",
# keywords="physics value error uncertainty unit quantity",
classifiers=[], # https://pypi.org/classifiers/
license="MIT")
......
# Copyright (C) 2019 Frank Sauerburger
# Copyright (C) {{ year }} {{ author }}
"""
Module description
......
# Copyright (C) 2019 Frank Sauerburger
# Copyright (C) {{ year }} {{ author }}
import unittest
from {{ PN }} import __version__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment