Skip to content

Commit 11ac054

Browse files
committed
Add basic project structure
1 parent c938d0f commit 11ac054

File tree

3 files changed

+267
-0
lines changed

3 files changed

+267
-0
lines changed

.gitignore

Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/python,macos,emacs,linux
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,macos,emacs,linux
3+
4+
### Emacs ###
5+
# -*- mode: gitignore; -*-
6+
*~
7+
\#*\#
8+
/.emacs.desktop
9+
/.emacs.desktop.lock
10+
*.elc
11+
auto-save-list
12+
tramp
13+
.\#*
14+
15+
# Org-mode
16+
.org-id-locations
17+
*_archive
18+
19+
# flymake-mode
20+
*_flymake.*
21+
22+
# eshell files
23+
/eshell/history
24+
/eshell/lastdir
25+
26+
# elpa packages
27+
/elpa/
28+
29+
# reftex files
30+
*.rel
31+
32+
# AUCTeX auto folder
33+
/auto/
34+
35+
# cask packages
36+
.cask/
37+
dist/
38+
39+
# Flycheck
40+
flycheck_*.el
41+
42+
# server auth directory
43+
/server/
44+
45+
# projectiles files
46+
.projectile
47+
48+
# directory configuration
49+
.dir-locals.el
50+
51+
# network security
52+
/network-security.data
53+
54+
55+
### Linux ###
56+
57+
# temporary files which can be created if a process still has a handle open of a deleted file
58+
.fuse_hidden*
59+
60+
# KDE directory preferences
61+
.directory
62+
63+
# Linux trash folder which might appear on any partition or disk
64+
.Trash-*
65+
66+
# .nfs files are created when an open file is removed but is still being accessed
67+
.nfs*
68+
69+
### macOS ###
70+
# General
71+
.DS_Store
72+
.AppleDouble
73+
.LSOverride
74+
75+
# Icon must end with two \r
76+
Icon
77+
78+
79+
# Thumbnails
80+
._*
81+
82+
# Files that might appear in the root of a volume
83+
.DocumentRevisions-V100
84+
.fseventsd
85+
.Spotlight-V100
86+
.TemporaryItems
87+
.Trashes
88+
.VolumeIcon.icns
89+
.com.apple.timemachine.donotpresent
90+
91+
# Directories potentially created on remote AFP share
92+
.AppleDB
93+
.AppleDesktop
94+
Network Trash Folder
95+
Temporary Items
96+
.apdisk
97+
98+
### Python ###
99+
# Byte-compiled / optimized / DLL files
100+
__pycache__/
101+
*.py[cod]
102+
*$py.class
103+
104+
# C extensions
105+
*.so
106+
107+
# Distribution / packaging
108+
.Python
109+
build/
110+
develop-eggs/
111+
downloads/
112+
eggs/
113+
.eggs/
114+
lib/
115+
lib64/
116+
parts/
117+
sdist/
118+
var/
119+
wheels/
120+
share/python-wheels/
121+
*.egg-info/
122+
.installed.cfg
123+
*.egg
124+
MANIFEST
125+
126+
# PyInstaller
127+
# Usually these files are written by a python script from a template
128+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
129+
*.manifest
130+
*.spec
131+
132+
# Installer logs
133+
pip-log.txt
134+
pip-delete-this-directory.txt
135+
136+
# Unit test / coverage reports
137+
htmlcov/
138+
.tox/
139+
.nox/
140+
.coverage
141+
.coverage.*
142+
.cache
143+
nosetests.xml
144+
coverage.xml
145+
*.cover
146+
*.py,cover
147+
.hypothesis/
148+
.pytest_cache/
149+
cover/
150+
151+
# Translations
152+
*.mo
153+
*.pot
154+
155+
# Django stuff:
156+
*.log
157+
local_settings.py
158+
db.sqlite3
159+
db.sqlite3-journal
160+
161+
# Flask stuff:
162+
instance/
163+
.webassets-cache
164+
165+
# Scrapy stuff:
166+
.scrapy
167+
168+
# Sphinx documentation
169+
docs/_build/
170+
171+
# PyBuilder
172+
.pybuilder/
173+
target/
174+
175+
# Jupyter Notebook
176+
.ipynb_checkpoints
177+
178+
# IPython
179+
profile_default/
180+
ipython_config.py
181+
182+
# pyenv
183+
# For a library or package, you might want to ignore these files since the code is
184+
# intended to run in multiple environments; otherwise, check them in:
185+
# .python-version
186+
187+
# pipenv
188+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
189+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
190+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
191+
# install all needed dependencies.
192+
#Pipfile.lock
193+
194+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
195+
__pypackages__/
196+
197+
# Celery stuff
198+
celerybeat-schedule
199+
celerybeat.pid
200+
201+
# SageMath parsed files
202+
*.sage.py
203+
204+
# Environments
205+
.env
206+
.venv
207+
env/
208+
venv/
209+
ENV/
210+
env.bak/
211+
venv.bak/
212+
213+
# Spyder project settings
214+
.spyderproject
215+
.spyproject
216+
217+
# Rope project settings
218+
.ropeproject
219+
220+
# mkdocs documentation
221+
/site
222+
223+
# mypy
224+
.mypy_cache/
225+
.dmypy.json
226+
dmypy.json
227+
228+
# Pyre type checker
229+
.pyre/
230+
231+
# pytype static type analyzer
232+
.pytype/
233+
234+
# Cython debug symbols
235+
cython_debug/
236+
237+
# End of https://www.toptal.com/developers/gitignore/api/python,macos,emacs,linux

alzkb/__init__.py

Whitespace-only changes.

setup.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env python
2+
3+
__all__ = [
4+
'VERSION'
5+
]
6+
7+
import setuptools
8+
9+
MAJOR = 0
10+
MINOR = 1
11+
MICRO = 0
12+
TEST_VER = 'a'
13+
ISRELEASED = True
14+
VERSION = '%d.%d.%d%s' % (MAJOR, MINOR, MICRO, TEST_VER)
15+
16+
setuptools.setup(
17+
name="AlzKB",
18+
version=VERSION,
19+
author="Joseph D. Romano, Van Truong, Yun Hao, Li Shen, and Jason H. Moore",
20+
description="A graph knowledge base for Alzheimer disease",
21+
url="https://github.com/EpistasisLab/AlzKB.git",
22+
packages=setuptools.find_packages(),
23+
python_requires=">=3.7",
24+
include_package_data=True,
25+
entry_points={
26+
'console_scripts': [
27+
'build_alzkb=alzkb.build.db:main'
28+
]
29+
}
30+
)

0 commit comments

Comments
 (0)