forked from CompMaterSci/python-geometry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (29 loc) · 831 Bytes
/
setup.py
File metadata and controls
32 lines (29 loc) · 831 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
import re
import ast
root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__)))
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open(os.path.join(root_dir, 'geometry', '__init__.py'), 'r') as f:
version = str(ast.literal_eval(_version_re.search(f.read()).group(1)))
setup(
name='geometry',
version=version,
packages=find_packages(),
url='https://github.com/CompMaterSci/python-geometry',
license='BSD',
author='Stefan Sandfeld',
author_email='stefan.sandfeld@fau.de',
description='Dealing with geometrical problems using Python.',
install_requires=[
'numpy'
],
setup_requires=[
'pytest-runner'
],
tests_require=[
'pytest'
]
)