|
1 |
| -#!/usr/bin/env python |
2 |
| - |
3 | 1 | import os
|
| 2 | +from os.path import abspath, dirname, join |
4 | 3 |
|
5 |
| -from setuptools import setup, find_packages |
| 4 | +from setuptools import find_packages, setup |
6 | 5 |
|
7 |
| -module_dir = os.path.dirname(os.path.abspath(__file__)) |
| 6 | +module_dir = dirname(abspath(__file__)) |
8 | 7 |
|
9 | 8 | if __name__ == "__main__":
|
10 | 9 | setup(
|
11 | 10 | name="atomate",
|
12 | 11 | version="1.0.1",
|
13 |
| - description="atomate has implementations of FireWorks workflows for " |
14 |
| - "Materials Science", |
15 |
| - long_description=open(os.path.join(module_dir, "README.md")).read(), |
| 12 | + description="atomate has implementations of FireWorks workflows for Materials Science", |
| 13 | + long_description=open(join(module_dir, "README.md")).read(), |
16 | 14 | url="https://github.com/hackingmaterials/atomate",
|
17 | 15 | author="Anubhav Jain, Kiran Mathew",
|
18 | 16 |
|
|
40 | 38 | "maggma>=0.26.0",
|
41 | 39 | ],
|
42 | 40 | extras_require={
|
43 |
| - "rtransfer": ["paramiko>=2.4.2"], |
44 | 41 | "plotting": ["matplotlib>=1.5.2"],
|
45 | 42 | "phonons": ["phonopy>=1.10.8"],
|
46 |
| - "complete": ["paramiko>=2.4.2", "matplotlib>=1.5.2", "phonopy>=1.10.8"], |
| 43 | + "qchem": ["openbabel"], |
| 44 | + "complete": [ |
| 45 | + "paramiko>=2.4.2", |
| 46 | + "matplotlib>=1.5.2", |
| 47 | + "phonopy>=1.10.8", |
| 48 | + "openbabel", |
| 49 | + ], |
47 | 50 | },
|
48 | 51 | classifiers=[
|
49 | 52 | "Programming Language :: Python :: 3",
|
|
57 | 60 | "Topic :: Other/Nonlisted Topic",
|
58 | 61 | "Topic :: Scientific/Engineering",
|
59 | 62 | ],
|
60 |
| - test_suite="nose.collector", |
61 |
| - tests_require=["nose"], |
62 |
| - scripts=[ |
63 |
| - os.path.join("scripts", f) |
64 |
| - for f in os.listdir(os.path.join(module_dir, "scripts")) |
65 |
| - ], |
| 63 | + scripts=[join("scripts", f) for f in os.listdir(join(module_dir, "scripts"))], |
66 | 64 | )
|
0 commit comments