mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
# Problem # The `.whl` available on PyPi for this repository contains its entire `tests` submodule. The total size of the `pygithub` module is less than `1mb` without tests and `>23mb` with. Previous discussions on this topic indicated the removal of tests would be accepted if someone created a pull request to do so: https://github.com/PyGithub/PyGithub/issues/672 This is that pull request! 😄 # Solution/Implementation # - Moved "tests" to root of the repository ( outside the package ) - Added `tests.` module path to the imports in `AllTests.py` - Updated `setup.py` - Removed `package_data` from product - Removed "tests" from packages definition - Repointed `test_suite` to new location - Updated `travis.yml` - Added conditional ( if not `py2.7` ) conversion of code to `py3` _... apologies for all the failed build spam below - new to working with Travis CI / had some gotcha moments!_
129 lines
5.1 KiB
Python
129 lines
5.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
############################ Copyrights and license ############################
|
|
# #
|
|
# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2012 Zearin <zearin@gonk.net> #
|
|
# Copyright 2013 AKFish <akfish@gmail.com> #
|
|
# Copyright 2013 David Farr <david.farr@sap.com> #
|
|
# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2014 Vincent Jacques <vincent@vincent-jacques.net> #
|
|
# Copyright 2015 Ed Holland <eholland@alertlogic.com> #
|
|
# Copyright 2016 John Eskew <jeskew@edx.org> #
|
|
# Copyright 2016 Matthew Neal <meneal@matthews-mbp.raleigh.ibm.com> #
|
|
# Copyright 2016 Peter Buckley <dx-pbuckley@users.noreply.github.com> #
|
|
# Copyright 2016 Sam Corbett <sam.corbett@cloudsoftcorp.com> #
|
|
# Copyright 2017 Aaron Levine <allevin@sandia.gov> #
|
|
# Copyright 2017 Nicolas Agustín Torres <nicolastrres@gmail.com> #
|
|
# Copyright 2018 Hayden Fuss <wifu1234@gmail.com> #
|
|
# Copyright 2018 Shinichi TAMURA <shnch.tmr@gmail.com> #
|
|
# Copyright 2018 Steve Kowalik <steven@wedontsleep.org> #
|
|
# Copyright 2018 Wan Liuyang <tsfdye@gmail.com> #
|
|
# Copyright 2018 sfdye <tsfdye@gmail.com> #
|
|
# Copyright 2018 Vinay Hegde <vinayhegde2010@gmail.com>
|
|
# #
|
|
# This file is part of PyGithub. #
|
|
# http://pygithub.readthedocs.io/ #
|
|
# #
|
|
# PyGithub is free software: you can redistribute it and/or modify it under #
|
|
# the terms of the GNU Lesser General Public License as published by the Free #
|
|
# Software Foundation, either version 3 of the License, or (at your option) #
|
|
# any later version. #
|
|
# #
|
|
# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY #
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS #
|
|
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more #
|
|
# details. #
|
|
# #
|
|
# You should have received a copy of the GNU Lesser General Public License #
|
|
# along with PyGithub. If not, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
################################################################################
|
|
|
|
from AuthenticatedUser import *
|
|
from Authentication import *
|
|
from Authorization import *
|
|
from Branch import *
|
|
from BranchProtection import *
|
|
from Commit import *
|
|
from CommitCombinedStatus import *
|
|
from CommitComment import *
|
|
from CommitStatus import *
|
|
from ContentFile import *
|
|
from Download import *
|
|
from Event import *
|
|
from Gist import *
|
|
from GistComment import *
|
|
from GitBlob import *
|
|
from GitCommit import *
|
|
from Github_ import *
|
|
from GitRef import *
|
|
from GitRelease import *
|
|
from GitReleaseAsset import *
|
|
from GitTag import *
|
|
from GitTree import *
|
|
from Hook import *
|
|
from Issue import *
|
|
from IssueComment import *
|
|
from Reaction import *
|
|
from IssueEvent import *
|
|
from License import *
|
|
from Label import *
|
|
from Milestone import *
|
|
from NamedUser import *
|
|
from Markdown import *
|
|
from Notification import *
|
|
from OrganizationHasInMembers import *
|
|
from Organization import *
|
|
from Project import *
|
|
from PullRequest import *
|
|
from PullRequestComment import *
|
|
from PullRequestReview import *
|
|
from PullRequestFile import *
|
|
from RateLimiting import *
|
|
from Repository import *
|
|
from RepositoryKey import *
|
|
from RequiredPullRequestReviews import *
|
|
from RequiredStatusChecks import *
|
|
from SourceImport import *
|
|
from Tag import *
|
|
from Team import *
|
|
from Traffic import *
|
|
from UserKey import *
|
|
from Migration import *
|
|
from GithubIntegration import *
|
|
|
|
from PaginatedList import *
|
|
from Exceptions import *
|
|
from Enterprise import *
|
|
from Logging_ import *
|
|
from RawData import *
|
|
from ConditionalRequestUpdate import *
|
|
from Persistence import *
|
|
from ExposeAllAttributes import *
|
|
from BadAttributes import *
|
|
from Equality import *
|
|
from Search import *
|
|
from Retry import *
|
|
|
|
from Issue33 import *
|
|
from Issue50 import *
|
|
from Issue54 import *
|
|
from Issue80 import *
|
|
from Issue87 import *
|
|
from Issue131 import *
|
|
from Issue133 import *
|
|
from Issue134 import *
|
|
from Issue139 import *
|
|
from Issue140 import *
|
|
from Issue142 import *
|
|
from Issue158 import *
|
|
from Issue174 import *
|
|
from Issue214 import *
|
|
from Issue216 import *
|
|
from Issue278 import *
|
|
from Issue494 import *
|
|
from Issue572 import *
|
|
from Issue937 import *
|
|
from Issue945 import *
|