-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 1.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from setuptools import setup
from setuptools_scm import get_version
version = get_version(root='.', relative_to=__file__)
def local_scheme(version):
"""Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2)
to be able to upload to Test PyPI"""
return ""
url = "https://github.com/IMTEK-Simulation/dtool-lookup-server-plugin-scaffolding"
readme = open('README.rst').read()
setup(
name="dtool-lookup-server-plugin-scaffolding",
packages=["dtool_lookup_server_plugin_scaffolding"],
description="This scaffolding serves as a minimal template for dtool lookup server plugin developments.",
long_description=readme,
author="Johannes Hörmann",
author_email="[email protected]",
use_scm_version={"local_scheme": local_scheme},
url=url,
entry_points={
'dtool_lookup_server.blueprints': [
'dtool_lookup_server_plugin_scaffolding=dtool_lookup_server_plugin_scaffolding:scaffolding_bp',
],
},
setup_requires=['setuptools_scm'],
install_requires=[
"dtool-lookup-server>=0.17.2",
],
download_url="{}/tarball/{}".format(url, version),
license="MIT"
)