Skip to content

Commit 6015869

Browse files
committed
- [META/BUG] Fixing reading the version
1 parent d0a47f6 commit 6015869

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import setup, find_packages
44

5-
with open("your_package/__init__.py", "r") as f:
5+
with open("gempy_plugins/__init__.py", "r") as f:
66
for line in f:
77
if line.startswith("__version__"):
88
version = line.split("=")[1].strip().strip("'")
@@ -15,19 +15,14 @@ def read_requirements(file_name):
1515

1616

1717
setup(
18-
name='gempy_viewer',
18+
name='gempy_plugins',
1919
version=version,
2020
packages=find_packages(),
2121
url='',
2222
license='EUPL',
2323
author='Miguel de la Varga',
2424
author_email="miguel@terranigma-solutions.com",
25-
description='Viewer for the geological modeling package GemPy',
26-
install_requires=read_requirements("requirements.txt"),
27-
extras_require={
28-
"opt": read_requirements("optional_requirements.txt"),
29-
"dev": read_requirements("dev-requirements.txt"),
30-
},
25+
description='Extra plugins for the geological modeling package GemPy',
3126
classifiers=[
3227
'Development Status :: 3 - Alpha',
3328
'Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)