Skip to content

Commit 8f8c3fd

Browse files
committed
Fix pypi description
1 parent 1212302 commit 8f8c3fd

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

amset/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.1"
1+
__version__ = "0.1.2"

docs/src/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
## v0.1.2
6+
7+
Fix pypi description.
8+
59
## v0.1.1
610

711
Add release and packaging support.

setup.py

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import os
2-
import platform
3-
import sys
4-
from distutils.sysconfig import get_config_vars
5-
from distutils.version import LooseVersion
61
from pathlib import Path
72

83
from setuptools import find_packages, setup
@@ -12,27 +7,6 @@
127
reqs_raw = Path("requirements.txt").read_text()
138
reqs_list = [r.replace("==", ">=") for r in reqs_raw.split("\n")]
149

15-
module_dir = os.path.dirname(os.path.abspath(__file__))
16-
17-
18-
# The below snippet was taken from the Pandas setup.py script.
19-
# It should make it easy to install BolzTraP2 without additional
20-
# configuration.
21-
22-
# For mac, ensure extensions are built for macos 10.9 when compiling on a
23-
# 10.9 system or above, overriding distuitls behaviour which is to target
24-
# the version that python was built for. This may be overridden by setting
25-
# MACOSX_DEPLOYMENT_TARGET before calling setup.py
26-
if sys.platform == "darwin":
27-
if "MACOSX_DEPLOYMENT_TARGET" not in os.environ:
28-
current_system = platform.mac_ver()[0]
29-
python_target = get_config_vars().get(
30-
"MACOSX_DEPLOYMENT_TARGET", current_system
31-
)
32-
if LooseVersion(current_system) >= "10.9" > LooseVersion(python_target):
33-
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
34-
35-
3610
with open("README.md", "r") as file:
3711
long_description = file.read()
3812

@@ -43,11 +17,12 @@
4317
description="AMSET is a tool to calculate carrier transport properties "
4418
"from ab initio calculation data",
4519
long_description=long_description,
20+
long_description_content_type='text/markdown',
4621
url="https://github.com/hackingmaterials/amset",
4722
author="Alex Ganose",
4823
author_email="aganose@lbl.gov",
4924
license="modified BSD",
50-
keywords="conductivity scattering seebeck dft vasp",
25+
keywords="mobility conductivity seebeck scattering lifetime rates dft vasp",
5126
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
5227
package_data={
5328
"amset": [

0 commit comments

Comments
 (0)