-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e7e42b4
Showing
11 changed files
with
855 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
docs/_build | ||
*.pyc | ||
build/ | ||
dist/ | ||
fab.egg-info/ | ||
cookies.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: python | ||
python: | ||
# - 2.6 | ||
- 2.7 | ||
- 3.2 | ||
- 3.3 | ||
#- pypy | ||
script: make test | ||
install: | ||
- make test-deps | ||
notifications: | ||
email: oczkers@gmail.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
fab is written and maintained by Piotr Staroszczyk and various contributors: | ||
|
||
Development Lead | ||
```````````````` | ||
|
||
- Piotr Staroszczyk <piotr.staroszczyk@get24.org> | ||
|
||
|
||
Patches and Suggestions | ||
``````````````````````` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. :changelog: | ||
Changelog | ||
--------- | ||
|
||
|
||
0.0.1 (????-??-??) | ||
++++++++++++++++++ | ||
|
||
* init |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include README.rst LICENSE AUTHORS.rst requirements.txt test_fab.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SHELL := /bin/bash | ||
|
||
test: | ||
py.test | ||
|
||
test-deps: | ||
pip install -r requirements.txt | ||
|
||
six: | ||
python test_fab.py | ||
|
||
#deps: requests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
fab | ||
===== | ||
|
||
.. image:: https://travis-ci.org/oczkers/fab.png?branch=master | ||
:target: https://travis-ci.org/oczkers/fab | ||
|
||
fab (Fifa AutoBuyer) is a simple library for managing Fifa Ultimate Team. | ||
It is written entirely in Python. | ||
|
||
|
||
Documentation | ||
------------- | ||
|
||
Documentation will be available soon at http://fut.readthedocs.org/. | ||
|
||
Players database: https://www.easports.com/uk/fifa/ultimate-team/fut/database | ||
|
||
|
||
Usage | ||
----- | ||
|
||
empty :-( | ||
|
||
|
||
License | ||
------- | ||
|
||
GNU GPLv3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
|
||
__title__ = 'fab' | ||
__version__ = '0.0.1' | ||
__author__ = 'Piotr Staroszczyk' | ||
__author_email__ = 'piotr.staroszczyk@get24.org' | ||
__license__ = 'GNU GPL v3' | ||
__copyright__ = 'Copyright 2015 Piotr Staroszczyk' | ||
|
||
packages = [ | ||
__title__, | ||
#'%s.modules' % __title__, | ||
] | ||
|
||
with open('requirements.txt') as f: | ||
requires = f.read().splitlines() | ||
|
||
with open('README.rst') as f1: | ||
with open('CHANGELOG.rst') as f2: | ||
long_desc = f1.read() + '\n\n' + f2.read() | ||
|
||
setup( | ||
name=__title__, | ||
version=__version__, | ||
description='%s is a simple library for managing Fifa Ultimate Team.' % __title__, | ||
long_description=long_desc, | ||
author=__author__, | ||
author_email=__author_email__, | ||
url='https://github.com/oczkers/%s' % __title__, | ||
download_url='https://github.com/oczkers/%s/releases' % __title__, | ||
bugtrack_url='https://github.com/oczkers/%s/issues' % __title__, | ||
platforms='any', | ||
keywords='%s fifa ultimate team ut pc xbox android ios 360 ps3 playstation auto buyer' % __title__, | ||
packages=packages, | ||
package_data={'': ['LICENSE']}, | ||
package_dir={__title__: __title__}, | ||
include_package_data=True, | ||
install_requires=requires, | ||
#license=open('LICENSE').read(), | ||
license=__license__, | ||
classifiers=( | ||
'Development Status :: 3 - Alpha', | ||
#'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
#'Programming Language :: Python :: 3.0', # not tested | ||
#'Programming Language :: Python :: 3.1', # not tested | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
#'Programming Language :: Python :: Implementation :: CPython', # not tested | ||
#'Programming Language :: Python :: Implementation :: IronPython', # not tested | ||
'Programming Language :: Python :: Implementation :: PyPy', | ||
'Topic :: Internet :: WWW/HTTP :: Site Management', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
), | ||
# entry_points={ | ||
# 'console_scripts': [ | ||
# 'fab = fab.cli:main', | ||
# ] | ||
# } | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
"""Tests for fab.""" | ||
|
||
import unittest | ||
|
||
import fab | ||
#from fab.exceptions import FutError | ||
|
||
|
||
class FabTestCase(unittest.TestCase): | ||
|
||
#_multiprocess_can_split_ = True | ||
|
||
def setUp(self): | ||
pass | ||
|
||
def tearDown(self): | ||
pass | ||
|
||
def testEntryPoints(self): | ||
fab | ||
|
||
|
||
if __name__ == '__main__': | ||
unittest.main() |