-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (39 loc) · 1.46 KB
/
setup.py
File metadata and controls
executable file
·47 lines (39 loc) · 1.46 KB
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
"""
Psience
A simple package for working with quantum chemistry problems
"""
# pulled from Ryan's stuff, lightly modified
from setuptools import setup, find_packages
short_description = __doc__.split("\n")
try:
with open("README.md", "r") as handle:
long_description = handle.read()
except:
long_description = "\n".join(short_description[2:])
def get_version():
import subprocess
run_out = subprocess.run(['git', 'describe', '--tags', '--abbrev=0'], capture_output=True)
return run_out.stdout.decode().strip().strip("v")
setup(
# Self-descriptive entries which should always be present
name='mccoygroup-psience',
author='Mark Boyer',
author_email='maboyer@tamu.edu',
description=short_description[0],
long_description=long_description,
long_description_content_type="text/markdown",
version=get_version(),
license='MIT',
# Which Python importable modules should be included when your package is installed
# Handled automatically by setuptools. Use 'exclude' to prevent some specific
# subpackage(s) from being added, if needed
packages=find_packages(),
# Optional include package data to ship with your package
# Customize MANIFEST.in if the general case does not suit your needs
# Comment out this line to prevent the files from being packaged with your software
# include_package_data=True
python_requires=">=3.9",
install_requires=[
'mccoygroup-mcutils>=1.6.8.2'
]
)