Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 1.0.0 and set up deployments to PyPi from master #81

Merged
merged 20 commits into from
Jul 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 25 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
language: python
python:
#- "3.3" # Fails, add support later!
- "2.7"

- '2.7'
addons:
postgresql: "9.4"
postgresql: '9.4'
apt:
packages:
- postgresql-9.4-postgis-2.3

- postgresql-9.4-postgis-2.3
env:
- DJANGO_SETTINGS_MODULE='settings_travis'

- DJANGO_SETTINGS_MODULE='settings_travis'
before_script:
- psql -U postgres -c "create extension postgis"

- psql -U postgres -c "create extension postgis"
install: pip install --process-dependency-links --allow-external djsonb -e ./

script: python run_tests.py
deploy:
- provider: pypi
user: azavea
skip_existing: true
password:
secure: iP4WfDokE1JImVAw4udpnc5ZRvyXsMM4xLGWFNJ8dX13SOP5eCGXhghhKRIKOW84t1upb396+FYZX0IXO+kWlYa1Lzvry3x3fXLBQryRZtQ7Pf97e/EYn2IzjngxQ7mwg6qe2MaH4GS2cGMs9/6UYaXwqr0Ro2d0zBEQ4yV1Z8U=
on:
distributions: sdist bdist_wheel
repo: azavea/ashlar
branch: master
- provider: pypi
server: https://test.pypi.org/legacy/
user: azavea
skip_existing: true
password:
secure: iP4WfDokE1JImVAw4udpnc5ZRvyXsMM4xLGWFNJ8dX13SOP5eCGXhghhKRIKOW84t1upb396+FYZX0IXO+kWlYa1Lzvry3x3fXLBQryRZtQ7Pf97e/EYn2IzjngxQ7mwg6qe2MaH4GS2cGMs9/6UYaXwqr0Ro2d0zBEQ4yV1Z8U=
on:
distributions: sdist bdist_wheel
repo: azavea/ashlar
branch: develop
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Azavea
Copyright (c) 2015-2018 Azavea

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
recursive-include tests *
README.md
LICENSE
34 changes: 32 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@

tests_require = []


def readme():
with open('README.md') as f:
return f.read()

setup(
name='ashlar',
version='0.0.2',
description='Define and validate schemas for metadata for geotemporal event records',
version='1.0.0',
author='Azavea, Inc.',
author_email='[email protected]',
description='A flexible schema framework for geospatial data.',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/azavea/ashlar',
license='MIT',
keywords='gis jsonschema',
packages=find_packages(exclude=['tests']),
dependency_links=[
Expand All @@ -35,4 +44,25 @@
},
test_suite='tests',
tests_require=tests_require,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2 :: Only',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Operating System :: OS Independent',
],
)