Skip to content

Commit

Permalink
updated the authors in the MDANSE and MDANSE_GUI packages. updated py…
Browse files Browse the repository at this point in the history
…project.toml. changed so that dependencies are only in the pyproject file.
  • Loading branch information
ChiCheng45 committed Mar 25, 2024
1 parent f6de82b commit 33de8b9
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 61 deletions.
4 changes: 3 additions & 1 deletion MDANSE/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ MDANSE project has been created by:
MDANSE source code is currently developed by

* Eric Pellegrini
* Maciej Bartkowiak
* Chi Cheng
* Sanghamitra Mukhopadhyay
* Rastislav Turanyi

MDANSE former contributors:

* Bachir Aoun
* Gael Goret
* Remi Perenon
* Rastislav Turanyi

1 change: 0 additions & 1 deletion MDANSE/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include LICENCE
include requirements.txt

recursive-include Extensions/qhull_lib *.h *c *.pxd
recursive-include Extensions/xtc *.h *c *.pxd
Expand Down
16 changes: 7 additions & 9 deletions MDANSE/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers = [
{name = "Sanghamitra Mukhopadhyay", email = "[email protected]"}
]
classifiers = [
'Development Status :: 4 - Beta',
'Development Status :: 3 - Alpha',

'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
Expand All @@ -27,15 +27,13 @@ classifiers = [
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent'
]

dependencies = [
"numpy",
"scipy",
"h5py",
"icecream",
"ase",
"railroad-diagrams",
"rdkit"
"numpy",
"scipy",
"h5py",
"icecream",
"ase",
"rdkit"
]

# dynamic = ["version", "description"]
Expand Down
9 changes: 0 additions & 9 deletions MDANSE/requirements.txt

This file was deleted.

15 changes: 0 additions & 15 deletions MDANSE/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from setuptools import setup, Extension, find_packages
from Cython.Distutils import build_ext as cython_build_ext

from pip._internal.req import parse_requirements
from pip._internal.network.session import PipSession
from distutils.sysconfig import get_config_vars
from distutils.util import convert_path

Expand All @@ -23,13 +21,6 @@
except ImportError:
stdeb = None

requirements = []

with open("requirements.txt", "r") as source:
for line in source:
toks = line.split()
if len(toks[0]) > 0:
requirements.append(toks[0])

#################################
# Modules variables
Expand Down Expand Up @@ -170,7 +161,6 @@ def find_data(
#################################

DATA_FILES = []
DATA_FILES.extend(find_data("Doc", exclude=[], prefix="conf_"))


#################################
Expand Down Expand Up @@ -393,9 +383,4 @@ class mdanse_build_api(mdanse_build_doc):
platforms=["Unix", "Windows"],
ext_modules=EXTENSIONS,
cmdclass=CMDCLASS,
# entry_points = {"console_scripts": []}
install_requires=[
pr.requirement
for pr in parse_requirements("requirements.txt", session=PipSession())
],
)
4 changes: 3 additions & 1 deletion MDANSE_GUI/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ MDANSE project has been created by:
MDANSE source code is currently developed by

* Eric Pellegrini
* Maciej Bartkowiak
* Chi Cheng
* Sanghamitra Mukhopadhyay
* Rastislav Turanyi

MDANSE former contributors:

* Bachir Aoun
* Gael Goret
* Remi Perenon
* Rastislav Turanyi

1 change: 0 additions & 1 deletion MDANSE_GUI/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include LICENSE
include requirements.txt

recursive-include Src/MDANSE_GUI/Icons *.png
recursive-include Src/MDANSE_GUI/MolecularViewer/database *.yml
Expand Down
12 changes: 6 additions & 6 deletions MDANSE_GUI/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ classifiers = [
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent'
]

dependencies = [
"qtpy",
"vtk",
"MDANSE",
"PyYAML",
"PyQt6"
"MDANSE",
"matplotlib",
"qtpy",
"vtk",
"PyQt6",
"PyYAML",
]

# dynamic = ["version", "description"]
Expand Down
5 changes: 0 additions & 5 deletions MDANSE_GUI/requirements.txt

This file was deleted.

13 changes: 0 additions & 13 deletions MDANSE_GUI/setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import fnmatch
import glob
import os
import sys

import numpy

from setuptools import setup, find_packages

from pip._internal.req import parse_requirements
from pip._internal.network.session import PipSession
from distutils.sysconfig import get_config_vars
from distutils.util import convert_path

Expand All @@ -22,13 +18,6 @@
except ImportError:
stdeb = None

requirements = []

with open('requirements.txt', 'r') as source:
for line in source:
toks = line.split()
if len(toks[0]) > 0:
requirements.append(toks[0])

#################################
# Modules variables
Expand Down Expand Up @@ -246,6 +235,4 @@ class mdanse_build_api(mdanse_build_doc):
package_dir={"": "Src"},
platforms = ['Unix','Windows'],
cmdclass = CMDCLASS,
# entry_points = {"console_scripts": []}
install_requires = [pr.requirement for pr in parse_requirements('requirements.txt', session= PipSession())],
)

0 comments on commit 33de8b9

Please sign in to comment.