Skip to content

Commit bb31926

Browse files
committed
Make coldfront installable via pip
- Add setup.py - Add cli entry named coldfront
1 parent ebd0efe commit bb31926

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.py[cod]
22
*.swp
3+
coldfront.egg-info
34
dist
45
*._*
56
*.DS_Store

coldfront/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import os
2+
import sys
3+
4+
def manage():
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "coldfront.config.settings")
6+
from django.core.management import execute_from_command_line
7+
execute_from_command_line(sys.argv)

manage.py

100644100755
File mode changed.

setup.py

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#!/usr/bin/env python
2+
3+
from setuptools import setup, find_packages
4+
5+
setup(
6+
name='coldfront',
7+
version='0.0.2',
8+
description='HPC Resource Allocation System ',
9+
keywords='high-performance-computing resource-allocation',
10+
url='http://coldfront.io',
11+
project_urls={
12+
'Bug Tracker': 'https://github.com/ubccr/coldfront/issues',
13+
'Documentation': 'https://ubccr.github.io/coldfront-docs/',
14+
'Source Code': 'https://github.com/ubccr/coldfront',
15+
},
16+
author='Andrew E. Bruno, Dori Sajdak, Mohammad Zia',
17+
license='GPLv3',
18+
packages=find_packages(),
19+
install_requires=[
20+
'arrow==0.12.1',
21+
'bibtexparser==1.0.1',
22+
'blessed==1.15.0',
23+
'certifi==2018.10.15',
24+
'chardet==3.0.4',
25+
'Django==2.1.2',
26+
'django-crispy-forms==1.7.2',
27+
'django-model-utils==3.1.2',
28+
'django-picklefield==1.1.0',
29+
'django-q==1.0.1',
30+
'django-simple-history==2.5.1',
31+
'django-sslserver==0.20',
32+
'django-su==0.8.0',
33+
'doi2bib==0.3.0',
34+
'future==0.16.0',
35+
'humanize==0.5.1',
36+
'idna==2.7',
37+
'pyparsing==2.2.2',
38+
'python-dateutil==2.7.3',
39+
'python-memcached==1.59',
40+
'pytz==2018.5',
41+
'redis==2.10.6',
42+
'requests==2.20.0',
43+
'six==1.11.0',
44+
'urllib3==1.24',
45+
'wcwidth==0.1.7',
46+
],
47+
entry_points={
48+
'console_scripts': [
49+
'coldfront = coldfront:manage',
50+
],
51+
}
52+
)

0 commit comments

Comments
 (0)