Files
PyGithub/github
TechnicalPirate 78d283b9b5 Updated setup.py to exclude tests (#1031)
# 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!_
2019-04-16 11:45:02 +08:00
..
2018-08-24 15:08:18 +08:00
2018-12-05 09:54:31 +08:00
2018-12-21 12:01:01 +08:00
2018-04-06 09:17:19 +08:00
2019-01-10 20:49:52 +08:00
2018-12-05 09:54:31 +08:00
2018-09-11 13:05:16 +08:00
2018-12-05 09:54:31 +08:00
2018-08-19 10:47:41 +08:00
2018-08-19 10:47:41 +08:00
2018-08-19 10:47:41 +08:00
2018-08-19 10:47:41 +08:00
2018-12-05 09:54:31 +08:00