Python packaging gubbins

thingy_objects
Marnanel Thurman 2018-08-06 22:17:40 +01:00
rodzic 42dbc8ecbc
commit e8283890bf
4 zmienionych plików z 39 dodań i 0 usunięć

6
.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1,6 @@
*.pyc
*.sw[op]
__pycache__
.eggs
.tox
*.egg-info

3
MANIFEST.in 100644
Wyświetl plik

@ -0,0 +1,3 @@
include *.txt *.ini *.cfg *.rst
recursive-include myapp *.ico *.png *.css *.gif *.jpg *.txt *.js *.html *.xml

20
setup.py 100644
Wyświetl plik

@ -0,0 +1,20 @@
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
setup(
name='django-kepi',
version='0.1.0',
packages=['django-kepi'],
description='ActivityPub for Django',
long_description=README,
author='Marnanel Thurman',
author_email='marnanel@thurman.org.uk',
url='https://gitlab.com/marnanel/django-kepi',
license='GPL 2.0',
install_requires=[
'Django>=2.0',
]
)

10
test_settings.py 100644
Wyświetl plik

@ -0,0 +1,10 @@
INSTALLED_APPS = (
'django-kepi',
)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
SECRET_KEY = "secret_key_for_testing"