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

CI & setup updates #264

Merged
merged 2 commits into from
Apr 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 10 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Python
*.py[cod]

# C extensions
Expand All @@ -9,25 +10,30 @@
dist
build
eggs
.eggs
parts
bin
include
man
var
sdist
develop-eggs
.installed.cfg
lib
lib64
.Python
pip-wheel-metadata

# Installer logs
# Logs
*.log
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
coverage.xml
nosetests.xml
htmlcov/
test-reports/
test-results.xml
test-output.xml

# Translations
*.mo
Expand Down
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ cache:
before_install:
- pip install -r requirements_all.txt
- pip install -e .
script:
install:
- python setup.py install
- python setup.py sdist
before_script:
- pylint pyicloud tests
- ./scripts/check_format.sh;
- ./scripts/check_format.sh
script:
- py.test
22 changes: 15 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
from setuptools import setup, find_packages
from codecs import open

REPO_URL = "https://github.com/picklepete/pyicloud"
VERSION = "0.9.6.1"

with open("requirements.txt") as f:
required = f.read().splitlines()

with open("README.rst", encoding="utf-8") as f:
long_description = f.read()

setup(
name="pyicloud",
version="0.9.6.1",
url="https://github.com/picklepete/pyicloud",
description=(
"PyiCloud is a module which allows pythonistas to "
"interact with iCloud webservices."
),
version=VERSION,
url=REPO_URL,
download_url=REPO_URL + "/tarball/" + VERSION,
description="PyiCloud is a module which allows pythonistas to interact with iCloud webservices.",
long_description=long_description,
maintainer="The PyiCloud Authors",
maintainer_email=" ",
license="MIT",
packages=find_packages(include=["pyicloud*"]),
install_requires=required,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Expand All @@ -27,8 +32,11 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
entry_points={"console_scripts": ["icloud = pyicloud.cmdline:main"]},
keywords=["icloud", "find-my-iphone"],
)