forked from datatrails/datatrails-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (49 loc) · 1.76 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python3
"""
Setup script for python build system
"""
import os
from setuptools import setup, find_packages
HERE = os.path.dirname(__file__)
REPO_URL = "https://github.com/jitsuin-inc/archivist-python/"
NAME = "jitsuin-archivist"
with open(os.path.join(HERE, "README.rst"), encoding="utf-8") as FF:
DESC = FF.read()
with open(os.path.join(HERE, "requirements.txt"), encoding="utf-8") as FF:
requirements = [f"{line.strip()}" for line in FF]
setup(
name=NAME,
author="Jitsuin Inc.",
author_email="[email protected]",
description="Jitsuin Archivist Client",
long_description=DESC,
long_description_content_type="text/markdown",
url=REPO_URL,
packages=find_packages(exclude=("examples", "unittests", "functests")),
platforms=["any"],
classifiers=[
"Development Status :: 3 - Alpha", # pre-delivery
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License", # MIT
"Operating System :: POSIX :: Linux", # https://pypi.org/classifiers/ # on anything
"Programming Language :: Python :: 3.6",
"Topic :: Utilities", # https://pypi.org/classifiers/ # check another option client-sdk
],
install_requires=requirements,
version_config={
"template": "{tag}",
"dev_template": "{tag}.post{ccount}+git.{sha}",
"dirty_template": "{tag}.post{ccount}+git.{sha}.dirty",
"version_callback": None,
"version_file": None,
"count_commits_from_version_file": False,
},
setup_requires=["setuptools-git-versioning==1.7.4"],
python_requires=">=3.6",
entry_points={
"console_scripts": [
"archivist_runner = archivist.cmds.runner.main:main",
],
},
)