Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WHY Senior Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pjm363 (Philip Monaco)
WHY Senior Project
Commits
c26479d9
Commit
c26479d9
authored
3 years ago
by
Philip Monaco
Browse files
Options
Downloads
Patches
Plain Diff
Add initial setup files
parent
87568c1e
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+11
-11
11 additions, 11 deletions
.gitlab-ci.yml
CHANGELOG.md
+19
-0
19 additions, 0 deletions
CHANGELOG.md
requirements.txt
+0
-0
0 additions, 0 deletions
requirements.txt
setup.py
+59
-0
59 additions, 0 deletions
setup.py
with
89 additions
and
11 deletions
.gitlab-ci.yml
+
11
−
11
View file @
c26479d9
...
...
@@ -37,7 +37,7 @@ test:
run
:
script
:
-
python setup.py
b
dist_wheel
-
python setup.py dist_wheel
# an alternative approach is to install and run:
-
pip install dist/*
# run the command here
...
...
@@ -45,13 +45,13 @@ run:
paths
:
-
dist/*.whl
pages
:
script
:
-
pip install sphinx sphinx-rtd-theme
-
cd doc ; make html
-
mv build/html/ ../public/
artifacts
:
paths
:
-
public
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
#
pages:
#
script:
#
- pip install sphinx sphinx-rtd-theme
#
- cd doc ; make html
#
- mv build/html/ ../public/
#
artifacts:
#
paths:
#
- public
#
rules:
#
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
This diff is collapsed.
Click to expand it.
CHANGELOG.md
0 → 100644
+
19
−
0
View file @
c26479d9
# Changelog
All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
https://keepachangelog.com/en/1.0.0/
)
,
and this project adheres to
[
Semantic Versioning
](
https://semver.org/spec/v2.0.0.html
)
## Unreleased
[
//
]:
#"This
section is for rolling changes to be appended that will be part of the next release. This tracks master."
### Added
-
Added precommit.sh to top level directory.
### Updated
### Removed
### Fixed
## [0.1.0]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
0
−
0
View file @
c26479d9
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
59
−
0
View file @
c26479d9
import
os
import
subprocess
from
setuptools
import
find_packages
,
setup
VERSION_MAJOR
=
0
VERSION_MINOR
=
0
VERSION_PATCH
=
1
SEMVER_STRING
=
f
"
v
{
VERSION_MAJOR
:
d
}
.
{
VERSION_MINOR
:
d
}
.
{
VERSION_PATCH
:
d
}
"
PROJECT_NAME
=
os
.
getenv
(
"
PYPI_PACKAGE_NAME
"
,
"
WHY
"
)
PROJECT_DESCRIPTION
=
(
"
Explainable AI system
"
)
PROJECT_URL
=
"
https://gitlab.cci.drexel.edu/pjm363/why-senior-project
"
AUTHOR_NAME
=
"
Philip Monaco, Abdullah Shah, Ibrahim Elsaid, Jashanpreet Singh, William Lu, Songheng Li
"
MAINTAINER_NAME
=
"
Philip Monaco, Abdullah Shah, Ibrahim Elsaid, Jashanpreet Singh, William Lu, Songheng Li
"
all_requires
=
[]
core_requires
=
[
"
numpy>=1.21
"
,
"
pandas>=1.3.5
"
,
"
bokeh>=2.4.2
"
,
"
matplotlib>=3.5.0
"
,
"
scikit-learn>=1.0.2
"
]
all_requires
+=
core_requires
lint_requires
=
[
"
black==21.12b0
"
,
"
isort==5.10.1
"
,
"
flake8==4.0.1
"
,
"
mypy
"
]
all_requires
+=
lint_requires
docs_requires
=
[
"
Sphinx
"
,
"
sphinx-gallery
"
,
"
sphinx-rtd-theme
"
,
"
m2r2
"
]
all_requires
+=
docs_requires
def
_minimal_ext_cmd
(
cmd
):
env
=
{}
for
k
in
[
"
SYSTEMROOT
"
,
"
PATH
"
,
"
HOME
"
]:
v
=
os
.
environ
.
get
(
k
)
if
v
is
not
None
:
env
[
k
]
=
v
env
[
"
Language
"
]
=
"
C
"
env
[
"
LANG
"
]
=
"
C
"
env
[
"
LV_ALL
"
]
=
"
C
"
out
=
subprocess
.
check_output
(
cmd
,
stderr
=
subprocess
.
STDOUT
,
env
=
env
)
return
out
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment