Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. if __name__ == '__main__':
  2. try:
  3. if servervenv:
  4. # flag which indicates that program is run in server
  5. activate_this = '/opt/iotdbloader/env/bin/activate_this.py'
  6. with open(activate_this) as file_:
  7. exec(file_.read(), {'__file__': activate_this})
  8. sys.path.insert(0, '/opt/iotdbloader/
  9.  
  10. install_requires=[
  11. 'mysql==0.0.2',
  12. 'mysql-connector==2.2.9',
  13. 'mysql-connector-python==8.0.16',
  14. 'mysqlclient==1.4.2.post1',
  15. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement