forked from datajoint/datajoint-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (26 loc) · 1.01 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import sys
if sys.version_info < (3,4):
sys.exit('DataJoint is only supported on Python 3.4 or higher')
here = path.abspath(path.dirname(__file__))
long_description = "An object-relational mapping and relational algebra to facilitate data definition and data manipulation in MySQL databases."
# read in version number
with open(path.join(here, 'datajoint', 'version.py')) as f:
exec(f.read())
with open(path.join(here, 'requirements.txt')) as f:
requirements = f.read().split()
setup(
name='datajoint',
version=__version__,
description="An ORM with closed relational algebra",
long_description=long_description,
author='Dimitri Yatsenko',
author_email='[email protected]',
license="GNU LGPL",
url='https://github.com/datajoint/datajoint-python',
keywords='database organization',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=requirements,
)