Simplify version and apache, bump to 0.2.0b1
This commit is contained in:
parent
b43e6f9e14
commit
90e02c5624
|
@ -1,4 +0,0 @@
|
|||
from distutils.version import StrictVersion
|
||||
|
||||
__version__ = '0.2.0a13'
|
||||
version = StrictVersion(__version__)
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
Define servername api.devicetag.io
|
||||
# The domain used to access the server
|
||||
Define appdir /path/to/app/dir
|
||||
Define appdir /home/devicetag/sites/${servername}/source/
|
||||
# The path where the app directory is. Apache must have access to this folder.
|
||||
Define wsgipath ${appdir}/wsgi.wsgi
|
||||
# The location of the .wsgi file
|
||||
Define pyvenv /path/to/venv
|
||||
Define pyvenv ${appdir}/venv/
|
||||
# The path where the virtual environment is (the folder containing bin/activate)
|
||||
|
||||
<VirtualHost *:80>
|
||||
|
|
7
setup.py
7
setup.py
|
@ -1,4 +1,3 @@
|
|||
import re
|
||||
from collections import OrderedDict
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
@ -6,9 +5,6 @@ from setuptools import find_packages, setup
|
|||
with open('README.md', encoding='utf8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
with open('ereuse_devicehub/__init__.py', 'rt', encoding='utf8') as f:
|
||||
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
|
||||
|
||||
test_requires = [
|
||||
'pytest',
|
||||
'requests_mock'
|
||||
|
@ -16,7 +12,7 @@ test_requires = [
|
|||
|
||||
setup(
|
||||
name='ereuse-devicehub',
|
||||
version=version,
|
||||
version='0.2.0b1',
|
||||
url='https://github.com/ereuse/devicehub-teal',
|
||||
project_urls=OrderedDict((
|
||||
('Documentation', 'http://devicheub.ereuse.org'),
|
||||
|
@ -29,7 +25,6 @@ setup(
|
|||
description='A system to manage devices focusing reuse.',
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
platforms='any',
|
||||
python_requires='>=3.5.3',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
|
|
Reference in New Issue