forked from WMD-group/MacroDensity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
41 lines (35 loc) · 1.33 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
#!/usr/bin/env python
__author__ = "Keith T. Butler"
__copyright__ = "Copyright Keith T. Butler (2013)"
__version__ = "1.0"
__maintainer__ = "Keith T. Butler"
__email__ = "[email protected]"
__date__ = "Aug 24 2017"
from setuptools import setup
import os
import unittest
module_dir = os.path.dirname(os.path.abspath(__file__))
def unit_tests():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='unit_tests.py')
return test_suite
if __name__ == "__main__":
setup(
name='MacroDensity',
version='1.0',
description='Manipulation of electron density',
long_description=open(os.path.join(module_dir, 'README.md')).read(),
url='https://github.com/WMD-group/MacroDensity',
author='Keith T. Butler',
author_email='[email protected]',
license='GNU General Public License (GPL) v3',
packages=['macrodensity'],
zip_safe=False,
install_requires=['scipy','numpy','spglib','ase'],
classifiers=['Programming Language :: Python',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering'],
test_suite='setup.unit_tests'
)