-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (41 loc) · 1.3 KB
/
setup.py
File metadata and controls
47 lines (41 loc) · 1.3 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
import pathlib
from setuptools import setup
import os
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="newproject",
version_config={
# "template": "{tag}",
# "dev_template": "{tag}.post{ccount}+git.{sha}",
# "dirty_template": "{tag}.post{ccount}+git.{sha}.dirty",
"template": "{tag}",
"dev_template": "{tag}.dev{ccount}",
"dirty_template": "{tag}.dev{ccount}.dirty",
"starting_version": "0.0.1",
"version_callback": None,
"version_file": None,
"count_commits_from_version_file": False,
"branch_formatter": None,
"sort_by": None,
},
setup_requires=['setuptools-git-versioning'],
description="newproject",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/shaunryan/newproject",
author="Shaun Ryan",
author_email="shaun_chiburi@hotmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
],
packages=[],
install_requires=[],
zip_safe=False
)