Skip to content

Commit

Permalink
logo update (#102)
Browse files Browse the repository at this point in the history
* Fix typos:
  `formating` | `formatting`
  `reuqired` | `required`
  `cytpes` | `ctypes`
  `cyptes` | `ctypes`
  `unsinged` | `unsigned`
  `endianess` | `endianness`
  `unsiged` | `unsigned`
  `_feilds` | `fields`
  `parseable` | `parsable`
  `interactiong` | `interacting`
  `themself` | `themselves`
  `requried` | `required`
  `propertly` | `properly`
  `TypeErorr` | `TypeError`
  `lenth` | `length`
  `abilily` | `ability`
  `familar` | `familiar`
  `exhautive` | `exhaustive`
  `develpment` | `development`

* Fix format error

* adding support for appveyor integration.

* removing `build.cmd`

* removing githb pages integration from the `master` branch.

* adding codacy coverage reporting

* updating to install codacy-coverage

* adding the creation of the coverage xml

* updating appveyor and codacy integrations

* installing coverage for python

* trying to get appveyor integration working.

* working on the appveyor integration

* working on fixing appveyor integration

* finally (hopefully) fixed appveyor integration

* updating line length QA to 120 chars.

* updating line length QA to 120 chars

* pylint QA updates

* codacy QA checking updates

* cleanup of QA issues

* code climate code QA update

* removing appveyor coverage and codacy integrations (causing more problems than advantages)

* adding in development documentation.

* added link to documentation

* AttributeError raised if the field_name doesn't exist.

* version bump

* updated note that the order in which fields are defined is the order they're processed (internal c structure)

* cleanup of a few things.

* Updates that fix DeprecationWarnings

* PEP8 cleanup

* adding the FlagField

* added a test to ensure values from other arrayfields are properly set.

* fixed issue with bit_len not being properly set.

* adding in the FloatField

* Added the DoubleField

* added the LongDoubleField

* updated README with note on bit length setting for IntField

* Added the Boolean Field

* adding the testing of the boolean fied

* Adding test of more advanced packet (with multiple field types)

* pull request updates

removed commented line and modified docstring

* removed tracking of the bit length.  Using the structure size instead to parse the packet.

* updated tests to use the ctypes Structure and to update for the new behavior of IntField

* Added Byte Aligned IntFields (similar to ctypes)

* Updated Array Field to reject any fields that use the bit field in ctypes.

* codacy QA check updates

* Add Codacy badge

* adding in the codacy badge

* version bump

* pylint updates; removal of num_words and byte_size (no longer needed or tested)

* renaming file to include multiple IntFields

* adding in testing to ensure that improper Fields for The Array Field raise an error

* added a test to excercise basic functionality of all IntFields

* IntField_Test --> IntFields_Test

* documentation update

* codacy updates

* removed unecessary `bit_len` from `FloatField`

* initial documentation overhaul

* updating documentation

* Create CODE_OF_CONDUCT.md

* Create CONTRIBUTING.md

* Create ISSUE_TEMPLATE.md

* updating documentation

* preparing documentation for v0.1.3

* swapping order of documentation

* documentation updates.

* ArrayField Update

* documenting how arrayfields should be used.

* adding doctests.

* pep8 checks

* Integ (#65)

* Updates that fix DeprecationWarnings

* PEP8 cleanup

* adding the FlagField

* added a test to ensure values from other arrayfields are properly set.

* fixed issue with bit_len not being properly set.

* adding in the FloatField

* Added the DoubleField

* added the LongDoubleField

* updated README with note on bit length setting for IntField

* Added the Boolean Field

* adding the testing of the boolean fied

* Adding test of more advanced packet (with multiple field types)

* pull request updates

removed commented line and modified docstring

* removed tracking of the bit length.  Using the structure size instead to parse the packet.

* updated tests to use the ctypes Structure and to update for the new behavior of IntField

* Added Byte Aligned IntFields (similar to ctypes)

* Updated Array Field to reject any fields that use the bit field in ctypes.

* codacy QA check updates

* adding in the codacy badge

* version bump

* pylint updates; removal of num_words and byte_size (no longer needed or tested)

* renaming file to include multiple IntFields

* adding in testing to ensure that improper Fields for The Array Field raise an error

* added a test to excercise basic functionality of all IntFields

* IntField_Test --> IntFields_Test

* documentation update

* codacy updates

* removed unecessary `bit_len` from `FloatField`

* initial documentation overhaul

* updating documentation

* updating documentation

* preparing documentation for v0.1.3

* swapping order of documentation

* documentation updates.

* ArrayField Update

* documenting how arrayfields should be used.

* adding doctests.

* pep8 checks

* split up the fields.py into seperate files.

* updated testing names

* finished migration of fields.

* Added Simple Endianess Packet

* Added python 3.7 for regular testing

* fixing small testing issues.

* udpated tests to properly test the functionality of the Big/Little Endian packets.

* Fixed issue where BigEndian Packet class wasn't properly parsing the packet.

* added quick documentation for the Little and Big Endian packets.  Also fixed test issue for PyPy (swapped endianess is not supported)  This resolves issues #75

* PyPy doesn't support non-native endianess.

* fixed typo

* migrated calpack.models.utils to calpack.utils

* removed import ctypes.  Resolves issue #76

* updated documentation for the Packet, PacketBigEndian, and PacketLittleEndian

* udpating documentation

* Added a proper __repr__ for the Packet Class.

* added testing of the repr function.

* pep8 updates.

* support for Python 2

* fixing typo

* pypy support.

* added examples for non-native endian

* v0.1.3 bump

* fixing cron jobs running deploys

* Integration for Release 2018.5.0 (#87) (#88)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* removing the GitHub Release; updated readme and description

* fixing travis ci integration

* fixing pypi documentation

* Release 2018.6.0 (#100)

* Integration for Release 2018.5.0 (#87)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* ignoring pytest files.

* 2018.6.0 Pre-Release (#92)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* updated a few of the Errors that are thrown.

* udpating test documentation; updated the expected Errors for a few of the tests.

* added further testing of the inheritance.

* remove an Error that I'm not using.

* udpated the naming of the endian tests

* Added a fix to resolve same field names being overwritten when inheriting another Packet class

* updated for a simple example

* removing the pandoc addon.  Not needed anymore.

* removing whitespace

* changed "builtins" to "common" to avoid namespace mangling.  Added the UDP packet type and testing

* some cleanup of the files.

* updated packets to be byte aligned.

* fixed issue with tests.

* updated ip common packets

* adding in Common IP tests for automated testing online.  Also fixed an issue with the Big Endian testing.

* removing packets and tests that are not PyPy compatible.

* pypy support.

* Resolves Issue #91

* updated to show python syntax

* QA updates including PEP 8 and Documentation.

* version bump

* Logo Update (#101)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* Integration for Release 2018.5.0 (#87)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* updated a few of the Errors that are thrown.

* udpating test documentation; updated the expected Errors for a few of the tests.

* added further testing of the inheritance.

* remove an Error that I'm not using.

* udpated the naming of the endian tests

* Added a fix to resolve same field names being overwritten when inheriting another Packet class

* updated for a simple example

* removing the pandoc addon.  Not needed anymore.

* removing whitespace

* ignoring pytest files.

* changed "builtins" to "common" to avoid namespace mangling.  Added the UDP packet type and testing

* some cleanup of the files.

* updated packets to be byte aligned.

* fixed issue with tests.

* updated ip common packets

* adding in Common IP tests for automated testing online.  Also fixed an issue with the Big Endian testing.

* removing packets and tests that are not PyPy compatible.

* pypy support.

* Resolves Issue #91

* updated to show python syntax

* QA updates including PEP 8 and Documentation.

* version bump

* 2018.6.0 Pre-Release (#92)

* updated travis-ci to only push to pypi from the python 3 build

* python version needs to be in quotations.

* fixing tags deployment

* updated test to properly grab size

* Ignoring pytest caches files.

* Added ability to get the `len` of a Packet.

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* Inheritance (#86)

* added test to verify proper inheritance of Packet class.

* working on updating the inheritance of Packet class

* fixed issue with inheritance.

* fixed FlagField documentation.

* Updating to a new release version of <year>.<month>.<minor>

* updated a few of the Errors that are thrown.

* udpating test documentation; updated the expected Errors for a few of the tests.

* added further testing of the inheritance.

* remove an Error that I'm not using.

* udpated the naming of the endian tests

* Added a fix to resolve same field names being overwritten when inheriting another Packet class

* updated for a simple example

* removing the pandoc addon.  Not needed anymore.

* removing whitespace

* changed "builtins" to "common" to avoid namespace mangling.  Added the UDP packet type and testing

* some cleanup of the files.

* updated packets to be byte aligned.

* fixed issue with tests.

* updated ip common packets

* adding in Common IP tests for automated testing online.  Also fixed an issue with the Big Endian testing.

* removing packets and tests that are not PyPy compatible.

* pypy support.

* Resolves Issue #91

* updated to show python syntax

* QA updates including PEP 8 and Documentation.

* version bump

* added a new logo
  • Loading branch information
mertzjames committed Jun 21, 2018
1 parent 1c780cd commit e7019fd
Show file tree
Hide file tree
Showing 59 changed files with 3,115 additions and 1,200 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,7 @@ calpack.egg-info/
*.sln
*.pyproj
*.pyperf
.vscode/*

\.pytest_cache\*
.pytest_cache/
29 changes: 13 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
language: python

python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.5-dev # 3.5 development branch
- 3.6
- 3.6-dev # 3.6 development branch
- 3.7-dev # 3.7 development branch
- pypy
- pypy3
- nightly

install:
- pip install -r requirements.txt
- pip install coveralls
- pip install codacy-coverage
- pip install pypandoc

script:
- coverage run --source=calpack setup.py test
- coverage xml

after_success:
- coveralls
- python-codacy-coverage -r coverage.xml

notifications:
slack:
Expand All @@ -32,19 +43,5 @@ deploy:
branch: prod
distributions: sdist bdist_wheel
repo: KronoSKoderS/CalPack

- provider: releases
skip_cleanup: true
api_key:
secure: HloNBoprUIDLX7uK1LytFXk39+PEc4fx7hW9JDVGkj3uHEvPFYEvv+Ynhy3OlMMZMqQ0LAxfdI5UJVkhkDlmWkcQtudfAYyLwasafQ9fB0y4kruxS22GgLLkMKVkhI/n+SQZ29JA3WMSidZAkwYkqKODbrw2m3genlqt8D3gUh8pKKpE03vo+Eg4SygTZbG7N8RfpnRaFmGLidvhWUvHhBCIjtoiAtF0X3MNr7KnWXaZJk1Fb1Qz9MEUav9nYwKylXFMNyHFyEMHeQWd3oesgfi+rk/XdLdAd/QT23pVwtgUuOpBeXcI0Abq/3cCzvGhcbna/LOufGuWehm/ow4X5ITgi4JYeX1M2s2w2Bx4cJfbMJ+CWno7o35Lpbwx0C1Gs3My7mwZ4qjGlaGvf+XrLCzbVFmEhVyMdlDMU0Q45mCmzV6b0AZyq0hpBNgX2RG+PqHgn1HJgg5SIoNIjUY9R/JlM8tqCPDuEmlf7jbxOsmNuIN/Ve9dv757f5YZdf3fuBwBVfjxhTOKE9Dpe3t8wDCoY2pHUzm8AmV0qqdAFMcX1QulntBehA2jxDDVujUscAtP3pxPFj4+FZh7ctW5Krh5sFrc5XFQv/4xzojBkmqHIgFnklRmi6VySeQgQNXAk4WCODaTZpPBk6UPkah/li9VKrMzbiKKvJqhMRIr0rc=
file: $(build/*.tar.gz)
on:
repo: KronoSKoderS/CalPack
branch: tags

- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master

condition: TRAVIS_EVENT_TYPE != 'cron'
python: "3.6"
60 changes: 60 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making
participation in our project and our community a harassment-free experience for everyone, regardless of age, body size,
disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race,
religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take
appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits,
issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any
contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the
project or its community. Examples of representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed representative at an online or offline
event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at
superuser<dot>kronos<at>gmail<dot>com. The project team will review and investigate all complaints, and will respond in
a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with
regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent
repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at
[http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
For more information about how to contribute to CalPack, please visit our
[docs](http://concorde.readthedocs.io/en/latest/dev/intro_dev_doc.html)
Binary file added CalPack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Brief Description

## Version(s) encountered

## Expected Behavior

## Actual Behavior

## System Details
101 changes: 51 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,78 @@
[![Build Status](https://travis-ci.org/KronoSKoderS/CalPack.svg?branch=prod)](https://travis-ci.org/KronoSKoderS/CalPack)
[![Coverage Status](https://coveralls.io/repos/github/KronoSKoderS/CalPack/badge.svg?branch=prod)](https://coveralls.io/github/KronoSKoderS/CalPack?branch=dev)
[![Build Status](https://travis-ci.org/KronoSKoderS/CalPack.svg?branch=prod)](https://travis-ci.org/KronoSKoderS/CalPack)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9b9123821ad408aaf1bd09ba15bbe6c)](https://www.codacy.com/app/kronoskoders/CalPack?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=KronoSKoderS/CalPack&amp;utm_campaign=Badge_Grade)
[![Coverage Status](https://coveralls.io/repos/github/KronoSKoderS/CalPack/badge.svg?branch=prod)](https://coveralls.io/github/KronoSKoderS/CalPack?branch=dev)
[![Documentation Status](https://readthedocs.org/projects/concorde/badge/?version=latest)](http://concorde.readthedocs.io/en/latest/?badge=latest)

![CalPack Logo](CalPack.png)

# CalPack
Packets in Python Simplified.

This python package is everything you need to transmorgrify your packets:
Packets in Python Simplified.

[![Calvin and Hobbes Strip](http://assets.amuniversal.com/8d40c700deba01317193005056a9545d)](http://www.gocomics.com/calvinandhobbes/1987/03/23)
This python package is everything you need to "transmorgrify" your packets:

This package is intended to make creating and/or parsing packets on the fly quick and easy. This is a wrapper around
the [`ctypes` module](https://docs.python.org/dev/library/ctypes.html) built-in to python. This package is designed
with influence from Django's modeling and will look familar to those that have used it.
[![Calvin and Hobbes Strip](http://assets.amuniversal.com/8d40c700deba01317193005056a9545d.png)](http://www.gocomics.com/calvinandhobbes/1987/03/23)

## Why `CalPack`?
This package is intended to make creating and/or parsing packets (structured bytecode) on the fly quick and easy. This is a wrapper around
the [`ctypes` module](https://docs.python.org/dev/library/ctypes.html) built-in to python. This package is designed
with influence from Django's modeling and will look familiar to those that have used it.

Because `Transmorgrifier` takes a REALLY long time to type out.
## A quick explanation of Packets and how to use them

## Installation
Packets are structured bytecode used for passing information from one place to another. The most common example is
that of a TCP/IP Packet, but isn't necessarily limited to networking packets. Here's a quick example. Let's say we
want to make a "smart" washing machine by attaching a [Raspberry Pi](https://www.raspberrypi.org/) that then talks to your other smart devices and alerts
you when a load of laundry is done and how many loads of laundry you've done that day.

This package is maintained in [GitHub](https://github.com/KronoSKoderS/CalPack) and packaged for deployment on [PyPi](https://pypi.python.org/pypi/calpack).
![Example Diagram](https://i.imgur.com/EcRl4HP.png)

Simply using `pip install calpack` will get this installed.

## Examples
### Creating Custom Packets
One way to communicate between the Raspberry Pi and your other devices is to send status "packets" or byte data
across a network. Let's say we want to know the following in our packet:

Creating custom packets is as easy as defining the fields:

from calpack import models


class my_pkt(models.Packet):
field1 = models.IntField()
field2 = models.IntField(signed=True)
* Status - a Boolean that represents whether the Washing Machine is running or stopped
* Number of Loads - an Integer that represents the number of loads done that day

To create this packet in `CalPack` is simple:

pkt = my_pkt()
pkt.field1 = 12
pkt.field2 = -12
```python
from calpack import models

# OR directly set the field values:
other_pkt = my_pkt(
field1 = 12,
field2 = -12
)
class MachineStatus(models.Packet):
Status = models.BooleanField()
Num_Loads = models.IntField()
```

### Converting to bytes
On our monitoring device (the Raspberry Pi), we can easily create the byte data for the packet by using our new packet:

b_str = pkt.to_bytes()
print(b_str)
```python
status_pkt = MachineStatus(
Status=True,
Num_Loads=12
)

### Parsing a byte string into a packet
# Send the byte data using an assumed custom `send` funcion
send(status_pkt.to_bytes())
```

pkt2 = my_pkt.from_bytes(b_str)
And converting the recieved byte data is simple as well:

print(pkt2.field1) # 12
print(pkt2.field2) # -12
```python
# assuming a `receive` function and returns the byte data of the sent packet
received_data = MachineSatus.from_bytes(receive())
print(received_data.status)
```

## Installation

## Upcoming Features:
This package is maintained in [GitHub](https://github.com/KronoSKoderS/CalPack) and packaged for deployment on [PyPi](https://pypi.python.org/pypi/calpack).

The following list is a set of major features that is planned to be worked on. For a more exhautive list, view the
issues page, or if you have ZenHub installed, view our current board.
Simply using `pip install calpack` will get this installed.

- [x] Ability to create a field with multiple words (i.e. a Data Array Field)
- [x] Set the specific bitfield length for the `IntField` (in progress)
- [x] Ability to compare packets for equality
- [x] Ability to set an already defined packet as a field for another packet
- [ ] Builtin packet for commonly used packets, such as TCP/IP, UDP, etc,.
- [ ] Adding other Field types (Float, String, etc,.)
## SHOW ME THE DOCS

Documentation is host on [read the docs](https://readthedocs.org/projects/concorde/)

## Python 2 and 3
Currently this module is designed to work for both Python 2.7+ and 3.3+, however, with the term of life for Python 2 in the
near future, further develpment of this package will eventually port entirely over to Python 3.

Currently this module is designed to work for both Python 2.7+ and 3.3+, however, with the term of life for Python 2 nearing,
this package will eventually port entirely over to Python 3.
38 changes: 38 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
environment:

matrix:

# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.

- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python33"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python33-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"

install:
- "%PYTHON%\\python.exe -m pip install coverage"
- "%PYTHON%\\python.exe -m pip install coveralls"
- "%PYTHON%\\python.exe -m pip install codacy-coverage"

build: off

test_script:
# Put your test command here.
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
# you can remove "build.cmd" from the front of the command, as it's
# only needed to support those cases.
# Note that you must use the environment variable %PYTHON% to refer to
# the interpreter you're using - Appveyor does not do anything special
# to put the Python version you want to use on PATH.
- "%PYTHON%\\python.exe setup.py test"
6 changes: 0 additions & 6 deletions calpack/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
from __future__ import print_function

import sys

PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3
68 changes: 0 additions & 68 deletions calpack/builtins/ip.py

This file was deleted.

File renamed without changes.
Loading

0 comments on commit e7019fd

Please sign in to comment.