Browse Source

add setup.py based on example from Django docs

master
Fr3deric 6 years ago
parent
commit
f004ef7f5e
  1. 1
      README.md
  2. 31
      setup.py

1
README.md

@ -94,4 +94,3 @@ ln -sr bam PROJECT_DIRECTORY/bam @@ -94,4 +94,3 @@ ln -sr bam PROJECT_DIRECTORY/bam
* service-based logins
* self-service registration
* form to edit own profile
* package this app as a _Python_ module

31
setup.py

@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='bam',
version='0.1',
packages=find_packages(),
include_package_data=True,
#license='',
description='Blinkenbunt Account Manager',
long_description=README,
url='https://git.blinkenbunt.org/blinkenbunt.org/bam',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
Loading…
Cancel
Save