Skip to content

Commit b06f4e0

Browse files
authored
Merge pull request #4 from maclariz/setup_improve
Setup improve
2 parents f15a890 + 3a72a0c commit b06f4e0

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

setup.py

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
from setuptools import setup, find_packages
2+
from distutils.util import convert_path
3+
4+
with open("README.md", "r") as f:
5+
long_description = f.read()
6+
7+
version_ns = {}
8+
vpath = convert_path("pixstem_tools/version.py")
9+
with open(vpath) as version_file:
10+
exec(version_file.read(), version_ns)
11+
12+
setup(
13+
name="pixstem_tools",
14+
version=version_ns["__version__"],
15+
packages=find_packages(),
16+
description="An open source python package for 4DSTEM data manipulation",
17+
long_description=long_description,
18+
long_description_content_type="text/markdown",
19+
url="https://github.com/maclariz/pixstem_tools/",
20+
author="Ian MacLaren",
21+
author_email="ian.maclaren@glasgow.ac.uk",
22+
license="GNU GPLv3",
23+
keywords="STEM 4DSTEM SPED",
24+
python_requires=">=3.60",
25+
install_requires=[
26+
"numpy >= 1.19",
27+
"scipy >= 1.5.2",
28+
"matplotlib >= 3.2.2",
29+
],
30+
extras_require={
31+
},
32+
)

version.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.1.1"

0 commit comments

Comments
 (0)