/
setup.py
48 lines (45 loc) · 1.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import find_packages, setup
# try to import py2exe for Windows packaging
try:
import py2exe
except ImportError:
pass
with open("README.md") as f:
README = f.read()
version = {}
# manually read version from file
with open("picklecast/version.py") as file:
exec(file.read(), version)
setup(
# some basic project information
name="picklecast",
version=version["__version__"],
license="MIT",
description="Share your screen to a projector via web-browser",
long_description=README,
author="Evan Widloski",
author_email="evan_github@widloski.com",
url="https://github.com/evidlo/picklecast",
# your project's pip dependencies
install_requires=[
"websockets"
],
include_package_data=True,
# automatically look for subfolders with __init__.py
packages=find_packages(),
data_files=[
('', [
'picklecast/localhost.pem',
'picklecast/index.html',
'picklecast/display.html',
'picklecast/webrtc.js',
'picklecast/background.jpg',
]),
],
# if you want your code to be able to run directly from command line
entry_points={
'console_scripts': [
'picklecast = picklecast.picklecast:main',
]
},
)