Initial Setuptools bits.
This commit is contained in:
parent
eebf9e81f5
commit
96c4998a34
2 changed files with 38 additions and 0 deletions
2
requirements/base.txt
Normal file
2
requirements/base.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
django-nested-admin==2.1.8
|
||||
#-e git+https://github.com/pinax/symposion.git#egg=SymposionMaster # Needs Symposion
|
36
setup.py
Normal file
36
setup.py
Normal file
|
@ -0,0 +1,36 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
import registrasion
|
||||
|
||||
|
||||
def read_file(filename):
|
||||
"""Read a file into a string."""
|
||||
path = os.path.abspath(os.path.dirname(__file__))
|
||||
filepath = os.path.join(path, filename)
|
||||
try:
|
||||
return open(filepath).read()
|
||||
except IOError:
|
||||
return ''
|
||||
|
||||
|
||||
setup(
|
||||
name="registrasion",
|
||||
author="Christopher Neugebauer",
|
||||
author_email="_@chrisjrn.com",
|
||||
version=registrasion.__version__,
|
||||
description="A registration app for the Symposion conference management system.",
|
||||
url="http://github.com/chrisjrn/registrasion/",
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
classifiers=(
|
||||
"Development Status :: 2 - Pre-Alpha",
|
||||
"Programming Language :: Python",
|
||||
"Framework :: Django",
|
||||
"Intended Audience :: Developers",
|
||||
"Natural Language :: English",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
),
|
||||
install_requires=read_file("requirements/base.txt").splitlines(),
|
||||
)
|
Loading…
Reference in a new issue