forked from LibraryOfCongress/concordia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 910 Bytes
/
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
#!/usr/bin/env python
from setuptools import find_packages, setup
VERSION = __import__("concordia").get_version()
INSTALL_REQUIREMENTS = ["boto3", "Django>=2.2"]
SCRIPTS = ["manage.py"]
DESCRIPTION = "Transcription crowdsourcing"
CLASSIFIERS = """\
Environment :: Web Environment
Framework :: Django
Programming Language :: Python
Programming Language :: Python :: 3.10
""".splitlines()
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
setup(
name="concordia",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
packages=find_packages(),
include_package_data=True,
scripts=SCRIPTS,
install_requires=INSTALL_REQUIREMENTS,
classifiers=CLASSIFIERS,
use_scm_version={
"write_to": "version.txt",
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
},
setup_requires=["setuptools_scm"],
)