-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
57 lines (50 loc) · 1.38 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
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools.command.test import test as TestCommand
import materials
import sys
with open('README.md') as readme_file:
readme = readme_file.read()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--strict', '--verbose', '--tb=long', 'tests']
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name='materials',
version=materials.__version__,
description="Scraper for NIST Ionic Liquids Database",
long_description=readme,
author="Boston University",
author_email='fjansen@bu.edu',
url='https://github.com/Hariri-Institute-SAIL/materials',
packages=[
'materials',
],
include_package_data=True,
zip_safe=False,
install_requires=[
],
cmdclass={'test': PyTest},
license="MIT",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: MIT',
'Natural Language :: English',
"Programming Language :: Python :: 2"
],
test_suite='tests',
tests_require=['pytest'],
extras_require={
'testing': ['pytest'],
}
)