xitiomet is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

xitiomet / python-twitter (fork of saiyr / python-twitter)

Mostly the same, but i added support for Mentions http://apiwiki.twitter.com/Twitter-REST-API-Met...

Clone this repository (size: 393.3 KB): HTTPS / SSH
hg clone https://bitbucket.org/xitiomet/python-twitter
hg clone ssh://hg@bitbucket.org/xitiomet/python-twitter

python-twitter / python-twitter.spec

commit
82aae45f64f2
parent
a58f4a7ad991
branch
default

Added GetMentions to twitter.py

1
8ba86bb65d73
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
8ba86bb65d73
3
8ba86bb65d73
Name:           python-twitter
4
8ba86bb65d73
Version:        0.5
5
8ba86bb65d73
Release:        1%{?dist}
6
8ba86bb65d73
Summary:        Python Interface for Twitter API
7
8ba86bb65d73
8
8ba86bb65d73
Group:          Development/Libraries
9
8ba86bb65d73
License:        Apache License 2.0
10
8ba86bb65d73
URL:            http://code.google.com/p/python-twitter/
11
8ba86bb65d73
Source0:        http://python-twitter.googlecode.com/files/%{name}-%{version}.tar.gz
12
8ba86bb65d73
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
8ba86bb65d73
14
8ba86bb65d73
BuildArch:      noarch
15
8e4eb1046f99
Requires:       python >= 2.3, python-simplejson >= 2.0.7
16
8ba86bb65d73
BuildRequires:  python-setuptools
17
8ba86bb65d73
18
8ba86bb65d73
19
8ba86bb65d73
%description
20
8ba86bb65d73
This library provides a pure python interface for the Twitter API.
21
8ba86bb65d73
22
8ba86bb65d73
23
8ba86bb65d73
%prep
24
8ba86bb65d73
%setup -q
25
8ba86bb65d73
26
8ba86bb65d73
27
8ba86bb65d73
%build
28
8ba86bb65d73
%{__python} setup.py build
29
8ba86bb65d73
30
8ba86bb65d73
31
8ba86bb65d73
%install
32
8ba86bb65d73
rm -rf $RPM_BUILD_ROOT
33
8ba86bb65d73
chmod a-x README
34
8ba86bb65d73
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
35
8ba86bb65d73
36
8ba86bb65d73
37
8ba86bb65d73
%clean
38
8ba86bb65d73
rm -rf $RPM_BUILD_ROOT
39
8ba86bb65d73
40
8ba86bb65d73
41
8ba86bb65d73
%files
42
8ba86bb65d73
%defattr(-,root,root,-)
43
8ba86bb65d73
%doc PKG-INFO README CHANGES COPYING LICENSE doc/twitter.html
44
8ba86bb65d73
# For noarch packages: sitelib
45
8ba86bb65d73
%{python_sitelib}/*
46
8ba86bb65d73
47
8ba86bb65d73
48
8ba86bb65d73
%changelog
49
8ba86bb65d73
* Sat Mar 22 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.5-1
50
8ba86bb65d73
- Initial package.