-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (25 loc) · 946 Bytes
/
setup.py
File metadata and controls
29 lines (25 loc) · 946 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
from setuptools import setup, find_packages
import os
readme_path = os.path.join(os.path.dirname(__file__), "README.md")
with open(readme_path, "r") as readme_file:
readme = readme_file.read()
with open('requirements.txt', 'r') as f:
required = f.read().splitlines()
with open("morph_utils/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
version = line.split('"')[1]
setup(
name = 'morph_utils',
version = version,
description = "Functions for common and not so common morphology operations",
long_description=readme,
author = "Matthew Mallory",
author_email = "matt.mallory@alleninstitute.org",
url = 'https://github.com/MatthewMallory/morph_utils',
packages = find_packages(),
install_requires = required,
include_package_data=True,
package_data={"morph_utils": ["data/*"]},
setup_requires=['pytest-runner'],
)