-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
41 lines (38 loc) · 1.14 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
37
38
39
40
41
# Copyright 2020 MIT Probabilistic Computing Project.
# See LICENSE.txt
import os
import re
from setuptools import setup
# Determine the version (hardcoded).
dirname = os.path.dirname(os.path.realpath(__file__))
vre = re.compile('__version__ = \'(.*?)\'')
m = open(os.path.join(dirname, 'src', 'python', '__init__.py')).read()
__version__ = vre.findall(m)[0]
setup(
name='fldr',
version=__version__,
description='Fast Loaded Dice Roller',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/probcomp/fast-loaded-dice-roller',
maintainer='Feras A. Saad',
maintainer_email='[email protected]',
license='Apache-2.0',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
],
packages=[
'fldr',
'fldr.tests',
],
package_dir={
'fldr': 'src/python',
'fldr.tests': 'tests',
},
extras_require={
'tests' : ['pytest', 'flaky', 'scipy']
}
)