forked from Phlya/adjustText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.13 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
#!/usr/bin/env python
import os
from pathlib import Path
from setuptools import setup
def get_version(path):
with open(path, "r") as f:
_, version = f.read().strip().split("=")
version = version.strip().strip('"')
return version
setup(name='adjustText',
version=get_version(os.path.join(
".", #os.path.dirname(os.path.realpath(__file__)),
"adjustText",
"_version.py",
)),
description='Iteratively adjust text position in matplotlib plots to minimize overlaps',
author='Ilya Flyamer',
author_email='[email protected]',
url='https://github.com/Phlya/adjustText',
project_urls={
'Documentation': 'https://adjusttext.readthedocs.io/',
},
packages=['adjustText'],
install_requires=["numpy", "matplotlib", "bioframe", "scipy"],
include_package_data=True,
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
'Framework :: Matplotlib',
'Topic :: Scientific/Engineering :: Visualization'],
)