forked from diffpy/diffpy.snmf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (54 loc) · 1.99 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
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# Installation script for diffpy.snmf
"""diffpy.snmf - a package implementing the stretched NMF algorithm.
Packages: diffpy.snmf
"""
import os
from setuptools import setup, find_packages
MYDIR = os.path.dirname(os.path.abspath(__file__))
# with open(os.path.join(MYDIR, 'requirements/run.txt')) as fp:
# requirements = [line.strip() for line in fp]
with open(os.path.join(MYDIR, 'README.md')) as fp:
long_description = fp.read()
# define distribution
setup(
name="diffpy.snmf",
version='0.0.1',
packages=find_packages(exclude=['tests', 'applications']),
entry_points={
# define console_scripts here, see setuptools docs for details.
'console_scripts': [
'snmf = diffpy.snmf.stretchednmfapp:main',
],
},
test_suite='tests',
# install_requires=requirements,
author='Ran Gu, Simon J.L. Billinge',
author_email='[email protected]',
maintainer='Simon J.L. Billinge',
maintainer_email='[email protected]',
url='https://github.com/diffpy/diffpy.snmf',
description="A python package implementing the stretched NMF algorithm.",
long_description = long_description,
long_description_content_type = 'text/x-rst',
license='BSD',
keywords="diffpy PDF",
classifiers = [
# List of possible values at
# http://pypi.python.org/pypi?:action=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
],
)
# End of file