-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (51 loc) · 1.72 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (51 loc) · 1.72 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
48
49
50
51
52
53
54
55
56
"""
Setup file for `seqsim`.
"""
# Import Python standard libraries
from setuptools import setup, find_packages
import pathlib
# The directory containing this file
LOCAL_PATH = pathlib.Path(__file__).parent
# The text of the README file
README_FILE = (LOCAL_PATH / "README.md").read_text(encoding="utf-8")
# Load requirements, so they are listed in a single place
with open("requirements.txt", encoding="utf-8") as fp:
install_requires = [dep.strip() for dep in fp.readlines()]
# This call to setup() does all the work
setup(
author="Tiago Tresoldi",
author_email="tiago.tresoldi@lingfil.uu.se",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
],
# data_files=[],
description="Library for computing measures of similarity for sequences of hashable data types",
# entry_points={"console_scripts": ["seqsim=seqsim.__main__:main"]},
extras_require={
"dev": ["black", "flake8", "twine", "wheel"],
"test": ["pytest"],
},
include_package_data=True,
install_requires=install_requires,
keywords=[
"sequence similarity",
"sequence distance",
"string similarity",
"string distance",
],
license="MIT",
long_description=README_FILE,
long_description_content_type="text/markdown",
name="seqsim",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.6",
test_suite="tests",
tests_require=[],
url="https://github.com/tresoldi/seqsim",
version="0.3.1", # remember to sync with __init__.py and build/conf.py
zip_safe=False,
)