Skip to content

Commit 3393c12

Browse files
committed
update package data
1 parent ae7c702 commit 3393c12

File tree

4 files changed

+61
-23
lines changed

4 files changed

+61
-23
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/env
22
/build
33
/dist
4+
/README.rst
5+
/docsrc/_build
6+
/docsrc/source
47
/*.egg-info
58
__pycache__
69
*.pyc

Diff for: MANIFEST.in

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include README.md
2+
include LICENSE
3+
include demo.py
4+
include docsrc/Makefile
5+
include docsrc/index.rst
6+
include docsrc/conf.py
7+
include docsrc/_templates/**/*.html
8+
include build.sh
9+
include .editorconfig
10+
include .pylintrc

Diff for: setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

Diff for: setup.py

+46-23
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,52 @@
1+
#!/usr/bin/env python
2+
3+
import os
14
from unittest import TestLoader
25
from setuptools import setup
36

47
def tests():
58
return TestLoader().discover('tests')
69

7-
setup(name='pygtkdrawingwindow',
8-
version='0.1',
9-
description='',
10-
long_description='',
11-
classifiers=[
12-
'Programming Language :: Python :: 2',
13-
'Programming Language :: Python :: 2.7',
14-
'License :: OSI Approved :: MIT License'
15-
],
16-
keywords='',
17-
url='https://github.com/dead-beef/pygtkdrawingwindow',
18-
author='dead-beef',
19-
author_email='[email protected]',
20-
license='MIT',
21-
py_modules=['pygtkdrawingwindow'],
22-
data_files=[
23-
('share/pygtkdrawingwindow',
24-
['README.md', 'LICENSE', 'demo.py'])
25-
],
26-
test_suite='setup.tests',
27-
install_requires=[],
28-
include_package_data=True,
29-
zip_safe=False)
10+
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
11+
try:
12+
with open(os.path.join(BASE_DIR, 'README.rst')) as fp:
13+
README = fp.read()
14+
except IOError:
15+
README = ''
16+
17+
setup(
18+
name='pygtkdrawingwindow',
19+
version='0.1.0',
20+
description='',
21+
long_description=README,
22+
classifiers=[
23+
'Development Status :: 4 - Beta',
24+
'Environment :: X11 Applications :: GTK',
25+
'Intended Audience :: Developers',
26+
'License :: OSI Approved :: MIT License'
27+
'Programming Language :: Python :: 2',
28+
'Programming Language :: Python :: 2.7',
29+
'Programming Language :: Python :: 3',
30+
'Programming Language :: Python :: 3.4',
31+
'Topic :: Multimedia :: Graphics',
32+
'Topic :: Software Development :: Libraries :: Python Modules',
33+
'Topic :: Software Development :: Widget Sets'
34+
],
35+
keywords='gtk',
36+
url='https://github.com/dead-beef/pygtkdrawingwindow',
37+
author='dead-beef',
38+
license='MIT',
39+
py_modules=['pygtkdrawingwindow'],
40+
test_suite='setup.tests',
41+
install_requires=[],
42+
extras_require={
43+
'dev': [
44+
'sphinx',
45+
'sphinx_rtd_theme',
46+
'twine>=1.8.1',
47+
'wheel'
48+
]
49+
},
50+
include_package_data=True,
51+
zip_safe=False
52+
)

0 commit comments

Comments
 (0)