-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (29 loc) · 830 Bytes
/
Copy pathsetup.py
File metadata and controls
33 lines (29 loc) · 830 Bytes
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
#!/usr/bin/env python
import io
from setuptools import find_packages, setup
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
setup(
name="scalebar",
version="0.1.0.dev0",
author="Emily Irvine",
author_email="emilymirvine@gmail.com",
packages=find_packages(),
url="https://github.com/emirvine",
description="Plots scalebar with matplotlib artists.",
long_description=read('README.md'),
install_requires=[
"matplotlib"
],
setup_requires=["numpy"],
tests_require=["pytest"],
extras_require={
'docs': ["sphinx", "numpydoc", "mock"],
}
)