-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (34 loc) · 1.06 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
42
43
44
45
#! /usr/bin/env python
import os
from distutils.core import setup
from setuptools.command.test import test as TestCommand
NAME = 'DeDist'
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name=NAME,
version="0.1",
author="Sander Keemink",
author_email="swkeemink@scimail.eu",
description="A Python library for estimating decoding distributions",
url="https://github.com/swkeemink/DeDist",
download_url="https://github.com/swkeemink/DeDist/archive/0.1.tar.gz",
package_dir={NAME: "./dedist"},
packages=[NAME],
license='GNU',
long_description=read('README.md'),
classifiers=[
"Natural Language :: English",
"Programming Language :: Python",
"Topic :: Scientific/Engineering"
],
cmdclass={'test': PyTest},
)